makeScript: Generates the shell of a code that is project specific

Description Usage Arguments Details Value Examples

View source: R/sprout_program.R

Description

Generates the shell of a code that is project specific

Usage

1
2
3
4
5
6
7
8
makeScript(
  r = "",
  description = "",
  project.id = getProject(),
  seed = 2011,
  run = TRUE,
  openTF = TRUE
)

Arguments

r

is source file name or Filename to create

description

Character string describing what program does

project.id

Character string for name of project

seed

Random start seed

run

Logical for execution of r script

openTF

Logcial for opening R script

Details

Will not overwrite existing program. Executes program and opens stub program. Mostly wrapper for sproutProgram.

Value

Logical indicating failure or not

Examples

1
2
3
4
## Not run: 
 makeScript("read_data.R",description="reads data","adaprHome")

## End(Not run) 

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