get_current_tag | R Documentation |
Find tag label of the currently checked out commit.
get_current_tag(repo, tags_already_updated = FALSE)
repo |
dataset name: 'all_basiclevel', 'reliability', etc. |
tags_already_updated |
boolean, have the repository tags been updated recently? Avoids unnecessary fetching of the tags when multiple functions that use tags are called in succession. |
The latest version tag as a string
## Not run:
all_bl <- get_all_basiclevel(version = '0.0.7')
current_tag <- get_current_tag('all_basiclevel')
stopifnot(current_tag == '0.0.7')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.