Create a demo .R script

create_r(to = getwd())

Arguments

to

the destination directory

Value

a demo .R script

Examples

create_r(tempdir())
#> [1] TRUE