reset: resets the 'srcpkgs' settings

View source: R/reset.R

resetR Documentation

resets the srcpkgs settings

Description

With this function, you can reset or set precisely the settings.

Usage

reset(root = find_project_root(), srcpkgs_paths = find_srcpkgs_paths(root))

Arguments

root

directory from where to search for source packages

srcpkgs_paths

paths to the source packages folders

Value

the settings (cf settings()) invisibly

Examples


# reset to appropriate defaults based on your current directory
reset()

# explictly set the project root
reset(root = tempdir())

# explictly set the source package paths (very unlikely)
reset(srcpkgs_paths = c('pkgs/mypkg1', 'pkgs/mypkg2'))


srcpkgs documentation built on May 29, 2024, 6:43 a.m.