Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(devel/R-pkgload) Updated 1.2.4 to 1.3.2
# pkgload 1.3.2 * Fixes for CRAN checks. # pkgload 1.3.1 * `dev_topic_find()` is now exported (#215). * `dev_help()` will remind you to run `pkgload::load_all()` if no in-development packages are found (#221). * Shimmed `?` now works even if you've renamed the documentation topic (#220). * `dev_help()` now works with an RStudio daily to deliver a rendered development documentation that includes working images and links (#228). # pkgload 1.3.0 * `load_all()` now calls `rlang::check_installed()` to prompt whether to install missing packages. Outdated and missing dependencies are installed using pak if installed. If not, the remotes package is used if installed. Otherwise `install.packages()` is used as a last resort but this method does not support Remotes fields. * `load_all()` gains an `attach` argument set to `TRUE` by default (#209). If set to `FALSE`, `load_all()` creates a new namespace but doesn't create a package environment on the search path. In this case, it is more similar to `loadNamespace()` than to `library()`. * Improved the way help pages are displayed in RStudio. This makes the behaviour within and outside RStudio consistent and fixes issues with Rd macros (#120). * `unregister()` is now exported. This is a gentler version of `unload()` which removes the package from the search path, unregisters methods, and unregisters the namespace. However it doesn't try to unload the namespace or its DLL so that dangling references keep working. * User `onLoad` hooks are now run after exports have been populated. This allows the hook to use exported functions. * The loaded namespace is now locked just before user `onLoad` hooks are run. This better reproduced the namespace sealing behaviour of regular loading. The package environment environment is now locked as well before both the user and package `onAttach` hooks are run. * Added support for loading a .so or .dll file from the `inst` folder via a new `library.dynam()` shim (@ethanplunkett, #48). * The `system.file()` shim now fails if you supply a path that starts with `inst` to better reproduce the behaviour with installed packages (#104). * `load_all()` now imports its dependencies lazily to avoid parallel installation issues (#89). * Unknown Rd macros no longer trigger a warning when building the package topic index (#119). * `load_all(compile = TRUE)` now forces a full recompilation (#93). * The advice about running `rm()` to remove conflicts with objects in the global environment is now clickable in RStudio (#199). * New `is_loading()` predicate to detect whether `load_all()` is currently running (#134). * `.dynLibs()` is no longer emptied when package with no DLL is unloaded (#176). * The `?` shim no longer interprets `?"/"` as a path (#198). * rstudioapi is no longer a hard dependency of pkgload (#187). * Errors thrown in user hooks are now demoted to a warning condition. Previously they were demoted using `try()`, making it harder to debug them. * `load_all()` correctly re-loads modified translations, avoiding the usual gettext behaviour.
- Loading branch information