devtools (version 0.4)

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 = "~/R-dev")

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 for library.

Examples

Run this code
dev_mode()
dev_mode()

Run the code above in your browser using DataCamp Workspace