Skip to content

Commit

Permalink
Document on_load() detail (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Mar 13, 2024
1 parent 84deb87 commit 1fa327a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/aaa.R
Expand Up @@ -69,6 +69,10 @@ the <- new.env(parent = emptyenv())
#' `on_load()` is implemented via `.onLoad()` and requires
#' `run_on_load()` to be called from that hook.
#'
#' The expressions inside `on_load()` do not undergo static analysis
#' by `R CMD check`. Therefore, it is advisable to only use
#' simple function calls inside `on_load()`.
#'
#' @examples
#' quote({ # Not run
#'
Expand Down
4 changes: 4 additions & 0 deletions man/on_load.Rd

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

0 comments on commit 1fa327a

Please sign in to comment.