R/prep_get_variant.R

Defines functions prep_get_variant

Documented in prep_get_variant

#' Get machine variant for snapshot tests
#'
#' @return [character] the variant
#'
#' @keywords internal
#' @export
prep_get_variant <- function() {
  v <- paste0("R", getRversion()[, 1:2])
#  if (v == "R4.4") { # current developer version
#    return(NULL)
#  } else {
    return(v)
#  }
}

Try the dataquieR package in your browser

Any scripts or data that you put into this service are public.

dataquieR documentation built on Jan. 8, 2026, 5:08 p.m.