File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export(tufte_html_book)
40
40
export(word_document2)
41
41
import(stats)
42
42
import(utils)
43
+ importFrom(xfun,dir_create)
43
44
importFrom(xfun,dir_exists)
44
45
importFrom(xfun,existing_files)
45
46
importFrom(xfun,in_dir)
Original file line number Diff line number Diff line change 6
6
" _PACKAGE"
7
7
8
8
# # usethis namespace: start
9
- # ' @importFrom xfun dir_exists
9
+ # ' @importFrom xfun dir_create dir_exists
10
10
# # usethis namespace: end
11
11
NULL
Original file line number Diff line number Diff line change @@ -280,10 +280,6 @@ strip_search_text = function(x) {
280
280
# manipulate internal options
281
281
opts = knitr ::: new_defaults(list (config = list ()))
282
282
283
- dir_create = function (path ) {
284
- dir_exists(path ) || dir.create(path , recursive = TRUE )
285
- }
286
-
287
283
# a wrapper of file.path to ignore `output_dir` if it is NULL
288
284
output_path = function (... ) {
289
285
dir = opts $ get(' output_dir' )
You can’t perform that action at this time.
0 commit comments