### To get the default configuration,
### just pass no arguments:
defaultConfig <-
rock::make_ROCKproject_config();
### You can then extract the object with settings
config <- defaultConfig$input;
### Edit some of them
config$project$title <- "Some new title";
### Call the function again with the new arguments
myConfig <-
rock::make_ROCKproject_config(
project = config$project,
codebook = config$codebook,
sources = config$sources,
workflow = config$workflow,
extra = config$extra
);
### View the result
cat(myConfig$yaml);
Run the code above in your browser using DataLab