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

Description Usage Arguments Details Value Examples

View source: R/run_Program.R

Description

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

Usage

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

Arguments

source.file

R script within that project

project.id

project id

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) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.