Nothing
#' Get current package version on GitHub
#'
#' @description This function queries GitHub for the code of the current package
#' versions. This may reference a non-tagged commit; for the analysis of tagged
#' commits only, see [wood_github_versions()].
#'
#' @template package
#' @template gh-user
#'
#' @return A character vector of version codes.
#'
#' @examples
#' \donttest{
#' # Latest version code is returned
#' wood_github_latest("gglgbtq", "turtletopia")
#'
#' # To get the latest *tagged* version code instead, use:
#' codes <- wood_github_versions("gglgbtq", "turtletopia")
#' versionsort::ver_latest(codes)
#' }
#'
#' @family github
#' @family versions
#' @export
wood_github_latest <- function(package, user) {
assert_param_package(package)
assert_param_gh_user(user)
desc <- github_description_cache(package, user, "latest")
read_dcf_one_value(desc, "Version")
}
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.