devtools v1.0


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

Include our badge in your README