1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/dev-mode.R
3\name{dev_mode}
4\alias{dev_mode}
5\title{Activate and deactivate development mode.}
6\usage{
7dev_mode(on = NULL, path = getOption("devtools.path"))
8}
9\arguments{
10\item{on}{turn dev mode on (\code{TRUE}) or off (\code{FALSE}).  If omitted
11will guess based on whether or not \code{path} is in
12\code{\link[=.libPaths]{.libPaths()}}}
13
14\item{path}{directory to library.}
15}
16\description{
17When activated, \code{dev_mode} creates a new library for storing installed
18packages. This new library is automatically created when \code{dev_mode} is
19activated if it does not already exist.
20This allows you to test development packages in a sandbox, without
21interfering with the other packages you have installed.
22}
23\examples{
24\dontrun{
25dev_mode()
26dev_mode()
27}
28}
29