Skip to content

Commit

Permalink
Make helpers default depend on export_all (#259)
Browse files Browse the repository at this point in the history
Closes #244
  • Loading branch information
lionel- authored Sep 21, 2023
1 parent e828276 commit 8aebdb5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

* Fix handling of active bindings inside a package during unloading (#255, @klmr).

* The `helpers` argument of `load_all` now defaults to the value
provided for the `export_all` arguments. This makes the behaviour
safer by default (#244).


# pkgload 1.3.3

Expand Down
2 changes: 1 addition & 1 deletion R/load.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ load_all <- function(path = ".",
attach = TRUE,
export_all = TRUE,
export_imports = export_all,
helpers = TRUE,
helpers = export_all,
attach_testthat = uses_testthat(path),
quiet = NULL,
recompile = FALSE,
Expand Down
2 changes: 1 addition & 1 deletion man/load_all.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8aebdb5

Please sign in to comment.