Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

run_pkg_hook

Run user and package hooks.


Description

Run user and package hooks.

Usage

run_pkg_hook(package, hook)

run_user_hook(package, hook)

Arguments

package

package name.

hook

hook name: one of "load", "unload", "attach", or "detach"


pkgload

Simulate Package Installation and Attach

v1.2.1
GPL-3
Authors
Hadley Wickham [aut], Jim Hester [aut, cre], Winston Chang [aut], RStudio [cph], R Core team [ctb] (Some namespace and vignette code extracted from base R)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.