removeScript: Remove an R script from a project. Removes program,...

Description Usage Arguments Details Value Examples

Description

Remove an R script from a project. Removes program, dependency, and results.

Usage

1
2
removeScript(project.id = getProject(),
  source.file = get("source_info")$file$file, ask = TRUE)

Arguments

project.id

project id

source.file

R script within that project

ask

is a logical whether to ask user

Details

Cannot be undone through adapr! Will not remove markdown or other program side-effects.

Value

value from file.remove

Examples

1
2
3
4
## Not run: 
remove.program("adaprHome","read_data.R")

## End(Not run) 

adapr documentation built on May 1, 2019, 7:05 p.m.