Register an output profile
Arguments
- name
Profile name. If omitted, taken from the profile's
schema.ymlor the supplied object.- path
Path to a profile directory containing
schema.ymlandmappings.yml(loaded lazily), orNULL.- profile
A pre-built
krt_profileobject, orNULL.- replace
Overwrite a profile already registered under
name? Defaults toFALSE, so a plugin cannot silently replace a built-in profile (such asasap); passTRUEto deliberately override one.
Examples
krt_profiles()
#> name title license
#> 1 asap ASAP Key Resources Table profile CC-BY-4.0
#> 2 generic Generic FAIR profile GPL-3.0-only
#> 3 star-methods STAR Methods (Cell Press) interoperability profile GPL-3.0-only
#> official
#> 1 FALSE
#> 2 FALSE
#> 3 FALSE
