Skip to content

Commit

Permalink
use base::isFALSE() instead
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Dec 13, 2022
1 parent 8254d0b commit 7a1e25d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: blogdown
Title: Create Blogs and Websites with R Markdown
Version: 1.15.3
Version: 1.15.4
Authors@R: c(
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666")),
person("Christophe", "Dervieux", role = "aut", email = "[email protected]", comment = c(ORCID = "0000-0003-4474-2498")),
Expand Down Expand Up @@ -43,6 +43,7 @@ License: GPL-3
URL: https://github.com/rstudio/blogdown,
https://pkgs.rstudio.com/blogdown/
BugReports: https://github.com/rstudio/blogdown/issues
Depends: R (>= 3.5.0)
Imports:
bookdown (>= 0.22),
htmltools,
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- Fixed a bug that caused `config.toml.bak.toml` to be recognized as the config file mistakenly, which led to an obscure error (thanks, @CerebralMastication, #742).

- This package requires R >= 3.5.0 now.

# CHANGES IN blogdown VERSION 1.15

- Restored the old default `options(blogdown.method = "html")` (thanks, @pachadotdev, #739).
Expand Down
2 changes: 1 addition & 1 deletion R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ build_site = function(local = FALSE, run_hugo = TRUE, build_rmd = FALSE, ...) {
if (!knitting) on.exit(run_script('R/build.R', as.character(local)), add = TRUE)
if (build_method() == 'custom') return()

if (!xfun::isFALSE(build_rmd)) {
if (!isFALSE(build_rmd)) {
if (is.character(build_rmd) && length(build_rmd) == 1) {
build_rmd = switch(
build_rmd, timestamp = filter_timestamp, md5sum = filter_md5sum,
Expand Down

0 comments on commit 7a1e25d

Please sign in to comment.