Nothing
#' Get all tagged package versions on GitHub
#'
#' @description This function queries GitHub for the codes of all tagged package
#' versions. To get the latest available version, see [wood_github_latest()].
#'
#' @template package
#' @template gh-user
#'
#' @return A character vector of version codes.
#'
#' @examples
#' \donttest{
#' wood_github_versions("versionsort", "turtletopia")
#' }
#'
#' @family github
#' @family versions
#' @export
wood_github_versions <- function(package, user) {
assert_param_package(package)
assert_param_gh_user(user)
github_versions_cache(package, user)
}
github_versions_cache <- function(package, user) {
tags <- github_tags_cache(package, user)
vapply(tags, function(tag) {
ret <- github_description_cache(package, user, tag)
read_dcf_one_value(ret, "Version")
}, character(1), USE.NAMES = FALSE)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.