#' Vérifications
#'
#' Indique par *OK* en vert ou *ERREUR* en rouge si on peut utiliser la fonction `import_struct()`.
#'
#' @export
verif_source <- function () {
actual <- dtbases_infos()
for (tab in names(actual)) {
result <- compare(actual[[tab]], database_info[[tab]])
if (all(result$detailedResult)) {
message(toupper(tab), " : ", green("OK"))
} else {
message(toupper(tab), " : ", red("ERREUR"))
}
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.