Skip to content

Commit eb5b228

Browse files
committed
use base::isFALSE() instead
yihui/xfun#67
1 parent b197ee8 commit eb5b228

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# CHANGES IN bookdown VERSION 0.31
22

3+
- This package requires R >= 3.5.0 now.
34

45
# CHANGES IN bookdown VERSION 0.30
56

R/gitbook.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ gitbook_config = function(config = list()) {
273273
toc = list(collapse = 'subsection')
274274
)
275275
if (isTRUE(config$search)) config$search = NULL
276-
if (xfun::isFALSE(config$search)) default$search = FALSE
276+
if (isFALSE(config$search)) default$search = FALSE
277277
config = utils::modifyList(default, config, keep.null = TRUE)
278278
# remove these TOC config items since we don't need them in JavaScript
279279
config$toc$before = NULL; config$toc$after = NULL

R/render.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ render_book = function(
174174
} else {
175175
render_cur_session(files, main, config, output_format, clean, envir, ...)
176176
}
177-
if (!xfun::isFALSE(delete_main)) file.remove(main)
177+
if (!isFALSE(delete_main)) file.remove(main)
178178
res
179179
}
180180

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy