RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (2.4.5) of this package.
Take me there.
devtools (version 1.11.0)
Tools to Make Developing R Packages Easier
Description
Collection of package development tools.
Copy Link
Copy
Link to current version
Version
Version
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.2
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
1.13.6
1.13.5
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.1
1.11.0
1.10.0
1.9.1
1.8.0
1.7.0
1.6.1
1.5
1.4.1
1.3
1.2
1.1
1.0
0.8
0.7.1
0.6
0.5.1
0.4
0.3
0.2
0.1
Down Chevron
Install
install.packages('devtools')
Monthly Downloads
755,380
Version
1.11.0
License
GPL (>= 2)
Issues
26
Pull Requests
5
Stars
2,359
Forks
750
Repository
https://github.com/hadley/devtools
Maintainer
Hadley Wickham
Last Published
April 12th, 2016
Functions in devtools (1.11.0)
Search functions
inst
Get the installation path of a package
install_url
Install a package from a url
dev_packages
Return a vector of names of packages loaded by devtools
dev_example
Run a examples for an in-development function.
build
Build package.
dev_mode
Activate and deactivate development mode.
check_cran
Check a package from CRAN.
submit_cran
Submit a package to CRAN.
create
Creates a new package, following all devtools package conventions.
github_pat
Retrieve Github personal access token.
check
Build and check a package, cleaning up automatically on success.
install
Install a local development package.
check_man
Check documentation, as
R CMD check
does.
find_topic
Find the rd file that documents a topic.
check_dep_version
Check that the version of an imported package satisfies the requirements
infrastructure
Add useful infrastructure to a package.
revdep_email
Experimental email notification system.
has_devel
Check if you have a development environment installed.
load_all
Load complete package.
parse_ns_file
Parses the NAMESPACE file for a package
eval_clean
Evaluate code in a clean R session.
bash
Open bash shell in package directory.
build_github_devtools
Build the development version of devtools from GitHub.
release_checks
Custom devtools release checks.
path
Get/set the PATH variable.
package_file
Find file in a package.
RCMD
Run R CMD xxx from within R
clean_vignettes
Clean built vignettes.
document
Use roxygen to document a package.
release
Release package to CRAN.
lint
Lint all source files in a package.
clean_source
Sources an R file in a clean environment.
build_vignettes
Build package vignettes.
has_tests
Was devtools installed with tests?
parse_deps
Parse package dependency strings.
dev_meta
Return devtools metadata environment
source_gist
Run a script on gist
test
Execute all
test_that
tests in a package.
package_deps
Find all dependencies of a CRAN or dev package.
install_deps
Install package dependencies if needed.
source_url
Run a script through some protocols such as http, https, ftp, etc.
uninstall
Uninstall a local development package.
unload
Unload a package
missing_s3
Find missing s3 exports.
imports_env
Return imports environment for a package
devtest
Return the path to one of the packages in the devtools test dir
revdep
Reverse dependency tools.
use_git
Initialise a git repository.
compile_dll
Compile a .dll/.so from source.
dr_devtools
Diagnose potential devtools issues
help
Drop-in replacements for help and ? functions
is.package
Is the object a package?
pkg_env
Return package environment
github_pull
GitHub references
with_debug
Temporarily set debugging compilation flags.
install_github
Attempts to install a package directly from GitHub.
run_examples
Run all examples in a package.
use_news_md
Use NEWS.md
dev_help
Read the in-development help for a package loaded with devtools.
install_git
Install a package from a git repository
session_info
Print session information
system.file
Replacement version of system.file
dr_github
Diagnose potential GitHub issues
setup_rtools
Find rtools.
use_build_ignore
Add a file to
.Rbuildignore
system_check
Run a system command and check if it succeeds.
load_imports
Load all of the imports for a package
as.package
Coerce input to a package.
create_description
Create a default DESCRIPTION file for a package.
foofoo
Test function for help
load_dll
Load a compiled DLL
r_env_vars
Environment variables to set when calling R
install_svn
Install a package from a SVN repository
install_local
Install a package from a local file
use_git_hook
Add a git hook.
clean_dll
Remove compiled objects from /src/ directory
check_failures
Parses R CMD check log file for ERRORs, WARNINGs and NOTEs
build_win
Build windows binary package.
install_version
Install specified version of a CRAN package.
load_code
Load R code.
on_path
Test if an object is on the path.
show_news
Show package news
use_package
Use specified package.
install_bitbucket
Install a package directly from bitbucket
reload
Unload and reload package.
use_github
Connect a local repo with GitHub.
load_data
Load data.
use_data
Use data in a package.
use_readme_rmd
Create README files.
use_data_raw
Use
data-raw
to compute package datasets.
compiler_flags
Default compiler flags used by devtools.
in_dir
Deprecated Functions
revdep_check_save_summary
Run R CMD check on all downstream dependencies.
spell_check
Spell checking
update_packages
Update packages that are missing or out-of-date.
devtools
Package development tools for R.
ns_env
Return the namespace environment for a package.
a
A number.
run_pkg_hook
Run user and package hooks.
loaded_packages
Return a vector of names of attached packages
use_github_links
Add GitHub links to DESCRIPTION.
wd
Set working directory.