R/shapr-package.R

Defines functions release_questions

Documented in release_questions

#' @importFrom data.table data.table fread fwrite setnames := year month
#' uniqueN setkey as.data.table copy between is.data.table setcolorder rbindlist
#'
#' @importFrom graphics plot hist rect
#'
#' @importFrom utils head tail methods modifyList
#'
#' @importFrom stats predict
#'
#' @importFrom stats as.formula
#'
#' @importFrom stats formula
#'
#' @importFrom stats model.matrix
#'
#' @importFrom stats model.frame
#'
#' @importFrom stats setNames
#'
#' @importFrom stats contrasts
#'
#' @importFrom stats embed
#'
#' @importFrom stats sd qt pt
#'
#' @importFrom stats rnorm
#'
#' @importFrom Rcpp sourceCpp
#'
#' @keywords internal
#'
#' @useDynLib shapr, .registration = TRUE
NULL

#' @keywords internal
"_PACKAGE"

#' Auxiliary function for the vaeac vignette
#' @description Function that question if the main and vaeac vignette has been built using the
#' `rebuild-long-running-vignette.R` function. This is only useful when using devtools to release
#' `shapr` to cran. See [devtools::release()] for more information.
release_questions <- function() {
  c(paste0(
    "Did you re-build the `understanding_shapr.Rmd` and `understanding_shapr_vaeac.Rmd` vignettes using ",
    "`rebuild-long-running-vignette.R`?"
  ))
}
NorskRegnesentral/shapr documentation built on April 19, 2024, 1:19 p.m.