#' Update database
#'
#' Updates current database to the most recent version of rdough.
#' @export
update_db <- function(){
load("info.RData")
if(info$rdough_version == 0.1){
info$rdough_version <- 0.2
save(info, file = "info.RData")
cat("v0.1 --> v0.2\tOK\n")
}
if(info$rdough_version == 0.2){
info$rdough_version <- 0.3
save(info, file = "info.RData")
cat("v0.2 --> v0.3\tOK\n")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.