#' Function to squash R check's global variable notes.
#'
if (getRversion() >= "2.15.1") {
# What variables are causing issues?
variables <- c(
".", "variable", ".draw", "draw", ".chain", "chain", ".iteration",
"value_predict", "value", "id", "n", "change_point", "intercept"
)
# Squash the note
utils::globalVariables(variables)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.