Simulate Package Installation and Attach
Overview
Simulates the process of installing a package and then attaching it. This is a key part of the 'devtools' package as it allows you to rapidly iterate while developing a package.
- When reloading a package,
load_all()now runs the unload hooks of the previously loaded package (.onUnload()and user hooks registered withsetHook()), whether it was loaded with pkgload or regularly. The old namespace and its DLL are still kept loaded so that dangling references continue to work, and errors thrown from.onUnload()are demoted to warnings so that they can't prevent reloading (#253).
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-17
- WARNING12 OK, 1 WARNING2026-10-01
- OK13 OK2026-08-21
- WARNING12 OK, 1 WARNING2026-08-17
- OK13 OK2026-08-05
Show 8 earlier changesHide 8 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK12 OK2026-04-25
- ERROR13 OK, 1 ERROR2026-04-23
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 26 (13 internal)includes a package overview page
- Examples that run
- 55%6 run in a plain check · 5 never run
- Exported functions with examples
- 48%
- Documented parameters
- 97%
- Return-value docs
- 5%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 54
- Median days to close, 50 most recently updated closed PRs
- 1
Forks over time
Issues over time
14 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/r-lib/pkgload on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-06 · The repository has a site deploy workflow
pkgdown site last built 2026-06-15
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-11Seen in the repository: .claude, .claude/skillsNamed in .Rbuildignore: .claude
Dependencies
Installing pkgload adds 13 packages (6 with compiled code, 3.8 MB of source tarballs). Heaviest: fs 1.4 MB, rlang 766 KB, cli 629 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Previously maintained by Jim Hester (1.0.0 to 1.2.3).
Pick two releases to compare their code metrics.
- 1.5.3Latest
- RR 4.6.0 released · 2026-04-24
- 1.5.22026-04-22 · diff ↗
- 1.5.12026-04-01 · diff ↗
- 1.5.02026-02-03 · diff ↗
- 1.4.12025-09-23 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.4.02024-06-28 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.3.42024-01-16 · diff ↗
- 1.3.3
- 1.3.2.12023-07-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.3.22022-11-16 · diff ↗
- 1.3.1
- 1.3.0
Show 14 earlier eventsHide 14 earlier events
- RR 4.2.0 released · 2022-04-22
- 1.2.42021-11-30 · diff ↗
- 1.2.32021-10-13 · diff ↗
- 1.2.22021-09-12 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.2.12021-04-06 · diff ↗
- 1.2.02021-02-23 · diff ↗
- 1.1.02020-05-29 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.0.22018-10-29 · diff ↗
- 1.0.12018-10-11 · diff ↗
- 1.0.02018-07-08
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-07-08
- Total releases
- 21 / 8 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 1.4.1
- Minimum R
- ≥ 3.4.0
- Download size
- 87 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pkgload")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.