Skip to content

Commit 70fa526

Browse files
committed
xfun 0.48 is on CRAN
also qualify file_rename() since the script is executed in a new R session
1 parent 2770a24 commit 70fa526

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

DESCRIPTION

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: bookdown
22
Type: Package
33
Title: Authoring Books and Technical Documents with R Markdown
4-
Version: 0.40.2
4+
Version: 0.40.3
55
Authors@R: c(
66
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666")),
77
person("Christophe", "Dervieux", , "[email protected]", role = c("ctb"),
@@ -65,7 +65,7 @@ Imports:
6565
knitr (>= 1.38),
6666
rmarkdown (>= 2.14),
6767
jquerylib,
68-
xfun (>= 0.47.12),
68+
xfun (>= 0.48),
6969
tinytex (>= 0.12),
7070
yaml (>= 2.1.19)
7171
Suggests:
@@ -94,4 +94,3 @@ Config/Needs/book: remotes, webshot, svglite
9494
Config/Needs/website: pkgdown, tidyverse/tidytemplate, rstudio/quillt
9595
Config/testthat/edition: 3
9696
VignetteBuilder: knitr
97-
Remotes: yihui/xfun

inst/scripts/render_one.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local({
1414

1515
out_expected = xfun::with_ext(args[1], '.md')
1616
if (out != out_expected) {
17-
file_rename(out, out_expected)
17+
xfun::file_rename(out, out_expected)
1818
attributes(out_expected) = attributes(out)
1919
out = out_expected
2020
}

0 commit comments

Comments
 (0)