Learn R Programming

adapr (version 1.0.2)

remove.program: 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

remove.program(project.id = get.project(),
  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