View source: R/get_version_number.R
get_version_number | R Documentation |
Looks up pre-existing version numbers of protocols in the main branch and calculates an incremented (next) version number for the currently checkout branch containing the created/in development/updated/ready to be released protocol. Your local main branch needs to up to date (aligned with remote) for this. If this is not the case, or other issues are detected regarding a non-clean local git repository - informative error messages will be given.
get_version_number(path = ".")
path |
Defaults to current working directory.
This should correspond with the root directory of the |
A string containing the next (incremented) version number
Other utility:
add_label()
,
get_path_to_protocol()
,
get_protocol_type()
,
get_protocolnumbers()
,
get_short_titles()
,
increment_version_number()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.