Learn R Programming

⚠️There's a newer version (1.4.0) of this package.Take me there.

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 diaspora into smaller, more focussed packages.

Usage

In most cases you will not use pkgload directly, and instead you'll call it via devtools::load_all().

devtools::load_all()

Copy Link

Version

Install

install.packages('pkgload')

Monthly Downloads

357,617

Version

1.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

James Hester

Last Published

July 7th, 2018

Functions in pkgload (1.0.0)

parse_ns_file

Parses the NAMESPACE file for a package
unload

Unload a package
load_code

Load R code.
run_pkg_hook

Run user and package hooks.
system.file

Replacement version of system.file
pkg_env

Return package environment
pkgtest

Return the path to one of the packages in the devtools test dir
help

Drop-in replacements for help and ? functions
has_tests

Was devtools installed with tests?
load_data

Load data.
dev_meta

Return devtools metadata environment
check_suggested

Check that the version of an suggested package satisfies the requirements
check_dep_version

Check that the version of an imported package satisfies the requirements
dev_help

In-development help for package loaded with devtools
imports_env

Return imports environment for a package
dev_example

Run a examples for an in-development function.
inst

Get the installation path of a package
package_file

Find file in a package.
load_dll

Load a compiled DLL
packages

Helper functions for working with development packages.
load_all

Load complete package.
load_imports

Load all of the imports for a package
ns_env

Return the namespace environment for a package.
parse_deps

Parse package dependency strings.
is_dev_package

Is the package currently under development?