add_license_file {worcs} | R Documentation |
Add License File to Project
Description
This function wraps usethis
'
licenses
functions, which are
designed for R-packages. This function makes them applicable to other use
cases (e.g., WORCS projects, FAIR theory).
Usage
add_license_file(path = ".", license = "ccby", ...)
Arguments
path |
Character, indicating the directory in which to create the license file. Default: '.'. |
license |
Character, indicating which license function to call.
The |
... |
Additional arguments passed to |
Value
No return value. This function is called for its side effects.
Examples
if(requireNamespace("withr", quietly = TRUE)){
withr::with_tempdir({
add_license_file(path = ".",
license = "proprietary",
copyright_holder = "test")
})
}
[Package worcs version 0.1.19 Index]