devtools v1.5


Monthly downloads



by Hadley Wickham

Tools to make developing R code easier

Collection of package development tools

Functions in devtools

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

Last month downloads


Roxygen list(wrap = FALSE)
License GPL (>= 2)
Packaged 2014-04-07 17:11:45 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2014-04-07 20:38:41

Include our badge in your README