Learn R Programming

adapr (version 2.0.0)

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

Description

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

Usage

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

Value

value from file.remove

Details

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

Examples

Run this code
# NOT RUN {
remove.program("adaprHome","read_data.R")
# }
# NOT RUN {


# }

Run the code above in your browser using DataLab