#' @title Update the statsBordeaux package
#' @description Update the statsBordeaux package
#' @param force a boolean vector of length one. If TRUE, force installation, even if the
#' remote state has not changed since the previous install. Default to FALSE
#' @export
#' @import devtools
#' @examples
#' updateStatsBordeaux()
updatePackage <- function(force = FALSE){
if(!is.vector(force) | !is.logical(force) | length(force) != 1){
stop("force must be a boolean vector of length one.")
}
devtools::install_github("rgriffier/statsBordeaux", force = force)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.