removeDataPath: Deletes a root data path all sub-directories

Description Usage Arguments Value Examples

View source: R/datapath.R

Description

Deletes a root data path and all sub-directories. It can be the current directory or a previously used data path. It will only delete if it has the default folder structure of a root data path.

Usage

1
2
removeDataPath(dataPath = file.path(getNlDataPath(), ".Rnightlights"),
  confirm = FALSE)

Arguments

dataPath

character The path to the root folder to be deleted

confirm

logical Used when in non-interactive mode. If missing or FALSE the operation will be aborted.

Value

None

Examples

1
2
3
4
5
  ## Not run: 
  Rnightlights:::removeDataPath(getNlDataPath())
  
## End(Not run)
    

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.