Skip to content

Commit d6bbc8b

Browse files
committed
Fix tests on new R devel
`R CMD build` behavior has slightly changed, now the package needs an R/ subdirectory.
1 parent 857a978 commit d6bbc8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/cran-app.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ make_dummy_package <- function(data, path) {
99
on.exit(unlink(tmp, recursive = TRUE), add = TRUE)
1010
withr::local_dir(tmp)
1111
mkdirp(package)
12+
mkdirp(file.path(package, "R"))
1213
file.create(file.path(package, "NAMESPACE"))
1314
write.dcf(data, file.path(package, "DESCRIPTION"))
1415
suppressMessages(utils::capture.output(

0 commit comments

Comments
 (0)