devtools v1.2


Monthly downloads



by Hadley Wickham

Tools to make developing R code easier

Collection of package development tools

Functions in devtools

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

Last month downloads


License GPL (>= 2)
Collate 'bash.r' 'build.r' 'check.r' 'check-cran.r' 'common-mistakes.r' 'devel-mode.r' 'document.r' 'file-cache.r' 'has-devel.r' 'install.r' 'load-code.r' 'load-data.r' 'load.r' 'news.r' 'package-deps.r' 'package-env.r' 'package.r' 'release.r' 'reload.r' 'run-examples.r' 'system.r' 'test.r' 'vignettes.r' 'zzz.r' 'wd.r' 'decompress.r' 'install-github.r' 'install-url.r' 'install-git.r' 'install-version.r' 'install-gitorious.r' 'missing-s3.r' 'run-source.r' 'dependencies.r' 'with.r' 'install-bitbucket.r' 'path.r' 'run-loadhooks.r' 'env-utils.r' 'inst.r' 'metadata.r' 'create.r' 'session-info.r' 'parent-envs.r' 'compile.r' 'load-dll.r' 'utils.r' 'imports-env.r' 'namespace-env.r' 'topic-index.r' 'dev-example.r' 'run-example.r' 'dev-help.r' 'check_devtools.r' 'rcpp-attributes.r' 'cran.r' 'load-depends.r' 'shims.r' 'remove-s4-class.r' 'rtools.r' 'clean.r' 'with-debug.r' 'source.r' 'install-min.r' 'vignette-r.r' 'has-tests.r'
Packaged 2013-04-16 20:27:59 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2013-04-17 13:42:43

Include our badge in your README