R/zzz.R

Defines functions .onLoad

#' @importFrom utils packageVersion

.onLoad <- function(libname, pkgname) {
  #check for reticulate version
  rv=unlist(utils::packageVersion("reticulate"))
  #only for three levels
  rv=as.numeric(paste(rv[1:3], collapse = ""))
    if (gsub(rv, pattern = "\\.", "", ) > "1410") {
    warning("This package works with reticulate version 1.41.0 or lower. It was not tested for versions above.\n")
  }
}

Try the VertexWiseR package in your browser

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

VertexWiseR documentation built on April 15, 2025, 1:18 a.m.