devtools v1.7.0

0

Monthly downloads

0th

Percentile

by Hadley Wickham

Tools to Make Developing R Packages Easier

Collection of package development tools.

Functions in devtools

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

Last month downloads

Details

Include our badge in your README

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