Skip to content

Commit 3dda5a3

Browse files
authored
use_import_from() outside package directory (#1537)
Adds path = proj_get() to pkgload::load_all() call in roxygen_update_ns().
1 parent c5d8ce6 commit 3dda5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/roxygen.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ roxygen_update_ns <- function(load = is_interactive()) {
8787

8888
if (load) {
8989
ui_done("Loading {project_name()}")
90-
pkgload::load_all(quiet = TRUE)
90+
pkgload::load_all(path = proj_get(), quiet = TRUE)
9191
}
9292

9393
TRUE

0 commit comments

Comments
 (0)