Create new directory and templated code for new dettl process.

dettl_new(name)

Arguments

name

The name of the project directory to be created. Should be human readable and meaningful. Any non a-z,0-9,_ characters will be stripped and replaced with _s. Directory name will be prepended with created date.

Examples

t <- tempfile()
dir.create(t)
withr::with_dir(t, {
  dettl::dettl_new("test import")
})
#> [1] "2022-09-29_test_import"