pkgload v1.0.2
Monthly downloads
Simulate Package Installation and Attach
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.
Readme
pkgload
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.
Usage
In most cases you will not use pkgload directly, and instead you'll call it via devtools::load_all()
.
devtools::load_all()
Functions in pkgload
Name | Description | |
dev_meta | Return devtools metadata environment | |
check_suggested | Check that the version of an suggested package satisfies the requirements | |
has_tests | Was devtools installed with tests? | |
imports_env | Return imports environment for a package | |
load_imports | Load all of the imports for a package | |
ns_env | Return the namespace environment for a package. | |
load_all | Load complete package. | |
load_code | Load R code. | |
inst | Get the installation path of a package | |
unload | Unload a package | |
is_dev_package | Is the package currently under development? | |
load_data | Load data. | |
parse_deps | Parse package dependency strings. | |
parse_ns_file | Parses the NAMESPACE file for a package | |
run_pkg_hook | Run user and package hooks. | |
dev_example | Run a examples for an in-development function. | |
load_dll | Load a compiled DLL | |
system.file | Replacement version of system.file | |
dev_help | In-development help for package loaded with devtools | |
package_file | Find file in a package. | |
packages | Helper functions for working with development packages. | |
pkg_env | Return package environment | |
pkgtest | Return the path to one of the packages in the devtools test dir | |
check_dep_version | Check that the version of an imported package satisfies the requirements | |
help | Drop-in replacements for help and ? functions | |
No Results! |
Last month downloads
Details
License | GPL-3 |
URL | https://github.com/r-lib/pkgload |
BugReports | https://github.com/r-lib/pkgload/issues |
Encoding | UTF-8 |
LazyData | true |
RoxygenNote | 6.1.0 |
NeedsCompilation | yes |
Packaged | 2018-10-29 19:56:19 UTC; jhester |
Repository | CRAN |
Date/Publication | 2018-10-29 20:30:03 UTC |
suggests | bitops , covr , Rcpp , testthat |
imports | desc , methods , pkgbuild , rlang , rprojroot , rstudioapi , utils , withr |
Contributors | RStudio, Hadley Wickham, Winston Chang, R Core team |
Include our badge in your README
[](http://www.rdocumentation.org/packages/pkgload)