devtools v1.3

0

Monthly downloads

0th

Percentile

by Hadley Wickham

Tools to make developing R code easier

Collection of package development tools

Functions in devtools

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

Last month downloads

Details

License GPL (>= 2)
Collate 'R.r' 'bash.r' 'build.r' 'check-cran.r' 'check-devtools.r' 'check-doc.r' 'check.r' 'clean.r' 'cran.r' 'create.r' 'decompress.r' 'dev-example.r' 'dev-help.r' 'document.r' 'env-utils.r' 'file-cache.r' 'has-devel.r' 'has-tests.r' 'imports-env.r' 'inst.r' 'install-bitbucket.r' 'install-git.r' 'install-github.r' 'install-gitorious.r' 'install-local.r' 'install-min.r' 'install-url.r' 'install-version.r' 'install.r' 'load-code.r' 'load-data.r' 'load-depends.r' 'load-dll.r' 'load.r' 'missing-s3.r' 'namespace-env.r' 'package-deps.r' 'package-env.r' 'package.r' 'parent-envs.r' 'path.r' 'rcpp-attributes.r' 'release.r' 'reload.r' 'remove-s4-class.r' 'rtools.r' 'run-example.r' 'run-examples.r' 'run-loadhooks.r' 'run-source.r' 'session-info.r' 'shims.r' 'source.r' 'system.r' 'test.r' 'topic-index.r' 'unload.r' 'utils.r' 'vignette-r.r' 'vignettes.r' 'wd.r' 'with-debug.r' 'with.r' 'zzz.r' 'compile-dll.r' 'dev-meta.r' 'dev-mode.r' 'reverse-dependencies.r' 'show-news.r'
Packaged 2013-07-03 00:01:26 UTC; hadley
NeedsCompilation yes
Repository CRAN
Date/Publication 2013-07-04 18:54:22

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/devtools)](http://www.rdocumentation.org/packages/devtools)