Skip to content

Commit

Permalink
sans_ext() has been moved to xfun
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Sep 8, 2018
1 parent cfa7c91 commit 3cfd3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build_one.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local({

# for external Rmd, '../../foo/bar/hi.Rmd' -> 'hi'; for internal,
# content/foo/bar/hi.Rmd -> foo/bar/hi
d = knitr:::sans_ext(
d = xfun::sans_ext(
if (a[3] == 'TRUE') basename(a[1]) else gsub('^content/', '', a[1])
)
knitr::opts_chunk$set(
Expand Down

0 comments on commit 3cfd3f5

Please sign in to comment.