Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (2.4.5) of this package.
Take me there.
devtools (version 0.8)
Tools to make developing R code easier
Description
Collection of package development tools
Copy Link
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
Install
install.packages('devtools')
Monthly Downloads
270,955
Version
0.8
License
GPL (>= 2)
Maintainer
Hadley Wickham
Last Published
September 14th, 2012
Functions in devtools (0.8)
Search all functions
parenvs
Given an environment or object, return an
envlist
of its parent environments.
unload
Unload a package
clear_cache
Clear file cache.
dev_help
Read the in-development help for a package loaded with devtools.
find_code
Find all R files in given directory.
has_devel
Check if you have a development environment installed.
print.envlist
Print an
envlist
build_win
Build windows binary package.
dev_packages
Return a vector of names of packages loaded by devtools
check_doc
Check documentation, as
R CMD check
does.
clean_dll
Remove compiled objects from /src/ directory
check_dep_version
Check that the version of an imported package satisfies the requirements
md5
Generate checksums for a vector of file paths.
install_version
Install specified version of a CRAN package.
parse_deps
Parse dependencies.
load_dll
Load a compiled DLL
clean_source
Sources an R file in a clean environment.
compile_dll
Compile a .dll/.so from source
run_onload
Run .onLoad if needed
load_data
Load data.
revdep
Reverese dependency tools.
with_debug
Temporarily set debugging compilation flags.
check
Build and check a package, cleaning up automatically on success.
loaded_packages
Return a vector of names of attached packages
load_imports
Load all of the imports for a package
parse_ns_file
Parses the NAMESPACE file for a package
pkg_env
Return package environment
test
Execute all
test_that
tests in a package.
source_url
Run a script through some protocols such as http, https, ftp, etc.
source_gist
Run a script on gist
dev_mode
Activate and deactivate development mode.
is.package
Is the object a package?
path
Get/set the PATH variable.
as.envlist
Convert a list of environments to an
envlist
object.
check_cran
Check a package from CRAN.
install_bitbucket
Install a package directly from bitbucket
install_gitorious
Attempts to install a package directly from gitorious.
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_url
Install a package from a url
load_pkg_description
Load package DESCRIPTION into convenient form.
run_examples
Run all examples in a package.
changed_files
Given vector of paths, return only those paths that have changed since the last invocation.
wd
Set working directory.
build_vignettes
Build package vignettes.
inst
Get the installation path of a package
missing_s3
Find missing s3 exports.
clean_vignettes
Clean built vignettes.
on_path
Test if an object is on the path.
load_all
Load complete package.
with_something
Execute code in temporarily altered environment.
document
Use roxygen to make documentation.
ns_env
Return the namespace environment for a package.
release
Release package to CRAN.
a
A number.
dev_example
Run a examples for an in-development function.
load_code
Load R code.
show_rd
Show an Rd file in a package.
install
Install a local development package.
as.package
Coerce input to a package.
create
Creates a new package, following all devtools package conventions.
dev_meta
Return devtools metadata environment
build
Build package in specified directory.
run_onattach
Run .onAttach if needed
show_news
Show package news
bash
Open bash shell in package directory.
imports_env
Return imports environment for a package
parse_collate
Parse collate string into vector of function names.
reload
Unload and reload package.