# ===================================================================== #
# An R package by Certe: #
# https://github.com/certe-medical-epidemiology #
# #
# Licensed as GPL-v2.0. #
# #
# Developed at non-profit organisation Certe Medical Diagnostics & #
# Advice, department of Medical Epidemiology. #
# #
# This R package is free software; you can freely use and distribute #
# it for both personal and commercial purposes under the terms of the #
# GNU General Public License version 2.0 (GNU GPL-2), as published by #
# the Free Software Foundation. #
# #
# We created this package for both routine data analysis and academic #
# research and it was publicly released in the hope that it will be #
# useful, but it comes WITHOUT ANY WARRANTY OR LIABILITY. #
# ===================================================================== #
#' @importFrom crayon num_colors italic red bold
#' @importFrom cli rule
.onAttach <- function(...) {
core_available <- get_core_available()
needed <- core_available[!is_attached(core_available)]
if (length(needed) == 0) {
return(invisible())
}
num_colors(TRUE)
certedata_attach(keep_silent = !is.null(getOption("knitr.in.progress")))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.