https://github.com/r-lib/pkgload
Simulate installing and loading a package
https://github.com/r-lib/pkgload
r
Last synced: about 10 hours ago
JSON representation
Simulate installing and loading a package
- Host: GitHub
- URL: https://github.com/r-lib/pkgload
- Owner: r-lib
- License: other
- Created: 2016-11-07T21:45:48.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-03-25T09:06:57.000Z (20 days ago)
- Last Synced: 2025-04-07T01:07:10.668Z (8 days ago)
- Topics: r
- Language: R
- Homepage: http://pkgload.r-lib.org
- Size: 7.27 MB
- Stars: 59
- Watchers: 4
- Forks: 50
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - r-lib/pkgload - Simulate installing and loading a package (R)
README
# pkgload
[](https://app.codecov.io/gh/r-lib/pkgload?branch=main)
[](https://github.com/r-lib/pkgload/actions/workflows/R-CMD-check.yaml)The goal of pkgload is to simulate the process of installing and loading a
package, without actually doing the complete process, and hence making package
iteration much faster. This was previously part of devtools (it was in fact the
original motivation) but has been moved into its own package as part of the
devtools [conscious uncoupling](https://github.com/r-lib/devtools#conscious-uncoupling).## Usage
In most cases you will not use pkgload directly, and instead you'll call it via `devtools::load_all()`.
``` r
devtools::load_all()
```## Code of Conduct
Please note that the pkgload project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.