devtools v1.4.1


Monthly downloads



by Hadley Wickham

Tools to make developing R code easier

Collection of package development tools

Functions in devtools

Name Description
build_win Build windows binary package.
build_github_devtools Build the development version of devtools from GitHub.
check_dep_version Check that the version of an imported package satisfies the requirements
on_path Test if an object is on the path.
install_git Install a package from a git repository
bash Open bash shell in package directory.
clean_source Sources an R file in a clean environment.
as.package Coerce input to a package.
check_doc Check documentation, as R CMD check does.
dev_example Run a examples for an in-development function.
dev_help Read the in-development help for a package loaded with devtools.
as.envlist Convert a list of environments to an envlist object.
install_git_single Install a single package from a git repository
eval_clean Evaluate code in a clean R session.
git_path Retrieve the current running path of the git binary.
has_tests Was devtools installed with tests?
inst Get the installation path of a package
install_local Install a package from a local file
install_github Attempts to install a package directly from github.
load_code Load R code.
install_version Install specified version of a CRAN package.
imports_env Return imports environment for a package
install_bitbucket Install a package directly from bitbucket
source_gist Run a script on gist
run_pkg_hook Run user and package hooks.
check Build and check a package, cleaning up automatically on success.
clean_vignettes Clean built vignettes.
install_gitorious Attempts to install a package directly from gitorious.
load_all Load complete package.
create_description Create a default DESCRIPTION file for a package.
parse_deps Parse package dependency strings.
cran_env_vars Cran environmental variables. The environment variables that are used CRAN when checking packages. These environment variables are from the R Internals document. The only difference from that document is that here, _R_CHECK_CRAN_INCOMING_ is not set to TRUE because it is so slow.
reload Unload and reload package.
test Execute all test_that tests in a package.
check_cran Check a package from CRAN.
compile_dll Compile a .dll/.so from source.
pkg_env Return package environment
find_rtools Find rtools.
compiler_flags Default compiler flags used by devtools.
install_deps Install package dependencies
release Release package to CRAN.
loaded_packages Return a vector of names of attached packages
document Use roxygen to make documentation.
ns_env Return the namespace environment for a package.
revdep Reverse dependency tools.
load_imports Load all of the imports for a package
load_data Load data.
parenvs Given an environment or object, return an envlist of its parent environments.
missing_s3 Find missing s3 exports.
r_env_vars Environment variables to set when calling R
dev_packages Return a vector of names of packages loaded by devtools
devtest Return the path to one of the packages in the devtools test dir
parse_ns_file Parses the NAMESPACE file for a package
wd Set working directory.
dev_meta Return devtools metadata environment
source_url Run a script through some protocols such as http, https, ftp, etc.
load_dll Load a compiled DLL
a A number.
devtools Package development tools for R.
unload Unload a package
with_debug Temporarily set debugging compilation flags.
with_something Execute code in temporarily altered environment.
clean_dll Remove compiled objects from /src/ directory
build_vignettes Build package vignettes.
create Creates a new package, following all devtools package conventions.
build Build package.
install_url Install a package from a url
is.package Is the object a package?
print.envlist Print an envlist
has_devel Check if you have a development environment installed.
install Install a local development package.
dev_mode Activate and deactivate development mode.
run_examples Run all examples in a package.
show_news Show package news
path Get/set the PATH variable.
No Results!

Last month downloads


License GPL (>= 2)
Packaged 2013-11-27 15:02:04 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2013-11-27 19:34:19

Include our badge in your README