diff --git a/R/load.R b/R/load.R index 0d1cd85e..d536614e 100644 --- a/R/load.R +++ b/R/load.R @@ -36,6 +36,8 @@ #' #' `is_loading()` returns `TRUE` when it is called while `load_all()` #' is running. This may be useful e.g. in `.onLoad` hooks. +#' A package loaded with `load_all()` can be identified with with +#' [is_dev_package()]. #' #' # Differences to regular loading #' diff --git a/man/load_all.Rd b/man/load_all.Rd index d9f22940..e5b2f4bf 100644 --- a/man/load_all.Rd +++ b/man/load_all.Rd @@ -99,6 +99,8 @@ helpers are run during package loading. \code{is_loading()} returns \code{TRUE} when it is called while \code{load_all()} is running. This may be useful e.g. in \code{.onLoad} hooks. +A package loaded with \code{load_all()} can be identified with with +\code{\link[=is_dev_package]{is_dev_package()}}. } \section{Differences to regular loading}{ \code{load_all()} tries its best to reproduce the behaviour of