devtools v1.1

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
check_doc Check documentation, as R CMD check does.
document Use roxygen to make documentation.
bash Open bash shell in package directory.
install_github Attempts to install a package directly from github.
parenvs Given an environment or object, return an envlist of its parent environments.
with_something Execute code in temporarily altered environment.
clean_vignettes Clean built vignettes.
show_rd Show an Rd file in a package.
package_deps Find all dependencies of a CRAN or dev package.
compiler_flags Default compiler flags used by devtools.
pkg_env Return package environment
setup_rtools Find rtools.
source_url Run a script through some protocols such as http, https, ftp, etc.
use_package Use specified package.
use_git_hook Add a git hook.
as.package Coerce input to a package.
check_failures Parses R CMD check log file for ERRORs, WARNINGs and NOTEs
build_win Build windows binary package.
in_dir Deprecated Functions
create_description Create a default DESCRIPTION file for a package.
imports_env Return imports environment for a package
parse_deps Parse package dependency strings.
reload Unload and reload package.
test Execute all test_that tests in a package.
use_git Initialise a git repository.
use_build_ignore Add a file to .Rbuildignore
RCMD Run R CMD xxx from within R
dev_help Read the in-development help for a package loaded with devtools.
install_deps Install package dependencies if needed.
lint Lint all source files in a package.
system_check Run a system command and check if it succeeds.
system_output Run a system command and capture the output.
use_news_md Use NEWS.md
clean_dll Remove compiled objects from /src/ directory
compile_dll Compile a .dll/.so from source
dev_meta Return devtools metadata environment
load_imports Load all of the imports for a package
parse_collate Parse collate string into vector of function names.
inst Get the installation path of a package
run_examples Run all examples in a package.
path Get/set the PATH variable.
install_version Install specified version of a CRAN package.
load_pkg_description Load package DESCRIPTION into convenient form.
source_gist Run a script on gist
devtest Return the path to one of the packages in the devtools test dir
use_coveralls Deprecated Functions
revdep Reverese dependency tools.
run_onattach Run .onAttach if needed
github_pull GitHub references
install_bitbucket Install a package directly from bitbucket
show_news Show package news
ns_env Return the namespace environment for a package.
build Build package.
run_onload Run .onLoad if needed
build_github_devtools Build the development version of devtools from GitHub.
check_man Check documentation, as R CMD check does.
install_url Install a package from a url
load_data Load data.
create Creates a new package, following all devtools package conventions.
parse_ns_file Parses the NAMESPACE file for a package
session_info Print session information
package_file Find file in a package.
help Drop-in replacements for help and ? functions
devtools Package development tools for R.
install_svn Install a package from a SVN repository
has_tests Was devtools installed with tests?
missing_s3 Find missing s3 exports.
wd Set working directory.
check_cran Check a package from CRAN.
dev_example Run a examples for an in-development function.
update_packages Update packages that are missing or out-of-date.
install_local Install a package from a local file
find_topic Find the rd file that documents a topic.
revdep_check_save_summary Run R CMD check on all downstream dependencies.
dr_github Diagnose potential GitHub issues
unload Unload a package
foofoo Test function for help
install Install a local development package.
infrastructure Add useful infrastructure to a package.
dev_mode Activate and deactivate development mode.
github_pat Retrieve Github personal access token.
dev_packages Return a vector of names of packages loaded by devtools
install_git Install a package from a git repository
dr_devtools Diagnose potential devtools issues
load_dll Load a compiled DLL
has_devel Check if you have a development environment installed.
loaded_packages Return a vector of names of attached packages
system.file Replacement version of system.file
on_path Test if an object is on the path.
md5 Generate checksums for a vector of file paths.
a A number.
load_all Load complete package.
with_debug Temporarily set debugging compilation flags.
uninstall Uninstall a local development package.
submit_cran Submit a package to CRAN.
revdep_email Experimental email notification system.
build_vignettes Build package vignettes.
use_data Use data in a package.
is.package Is the object a package?
load_code Load R code.
r_env_vars Environment variables to set when calling R
run_pkg_hook Run user and package hooks.
check Build and check a package, cleaning up automatically on success.
use_readme_rmd Use README.Rmd
use_data_raw Use data-raw to compute package datasets.
use_github_links Add GitHub links to DESCRIPTION.
release_checks Custom devtools release checks.
clear_cache Clear file cache.
install_git_single Install a single package from a git repository
check_dep_version Check that the version of an imported package satisfies the requirements
clean_source Sources an R file in a clean environment.
spell_check Spell checking
release Release package to CRAN.
git_path Retrieve the current running path of the git binary.
print.envlist Print an envlist
as.envlist Convert a list of environments to an envlist object.
find_code Find all R files in given directory.
install_gitorious Attempts to install a package directly from gitorious.
find_rtools Find rtools.
eval_clean Evaluate code in a clean R session.
use_github Connect a local repo with GitHub.
changed_files Given vector of paths, return only those paths that have changed since the last invocation.
revdep_check_save_logs Run R CMD check on all downstream dependencies.
No Results!

Last month downloads

Details

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-02-08 21:08:43 UTC; hadley
Repository CRAN
Date/Publication 2013-02-09 08:02:07

Include our badge in your README

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