Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dev_mode

Activate and deactivate development mode.


Description

When activated, dev_mode creates a new library for storing installed packages. This new library is automatically created when dev_mode is activated if it does not already exist. This allows you to test development packages in a sandbox, without interfering with the other packages you have installed.

Usage

dev_mode(on = NULL, path = getOption("devtools.path"))

Arguments

on

turn dev mode on (TRUE) or off (FALSE). If omitted will guess based on whether or not path is in .libPaths()

path

directory to library.

Examples

## Not run: 
dev_mode()
dev_mode()

## End(Not run)

devtools

Tools to Make Developing R Packages Easier

v2.4.1
MIT + file LICENSE
Authors
Hadley Wickham [aut], Jim Hester [aut, cre], Winston Chang [aut], RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.