write_config_skeleton: Writes out a config skeleton

Description Usage Arguments Details Value Examples

View source: R/config_handling.R

Description

Writes out a config skeleton

Usage

1
write_config_skeleton(file_path = "./config_skeleton.R", overwrite = FALSE)

Arguments

file_path

file path to write the file into

overwrite

overwrite existing file defaults to FALSE

Details

This function writes out a config skeleton, that is, an empty config file to be edited by the user.

Value

returns a boolean indicating success or failure

Examples

1
2
3
4
# set config_empty.R file path
config_file_path <- file.path(tempdir(), "config_empty.R")
#writes out a config skeleton
write_config_skeleton(config_file_path)

ZHG2017/Rcpp-packageGen3sis documentation built on Dec. 18, 2021, 8:24 p.m.