# Blank cff
cff()
# Use custom params
test <- cff(
title = "Manipulating files",
keywords = c("A", "new", "list", "of", "keywords"),
authors = as_cff_person("New author")
)
test
# \donttest{
# Would fail
cff_validate(test)
# }
# Modify with cff_create
new <- cff_create(test, keys = list(
"cff_version" = "1.2.0",
message = "A blank file"
))
new
# Would pass
cff_validate(new)
Run the code above in your browser using DataLab