R/onLoad.R

Defines functions .onAttach

.onAttach <- function(libname, pkg){
  ver <- version()
  packageStartupMessage(paste("Using V8 engine", ver))
  if(isTRUE(v8_version_numeric() < "6")){
    warning("This system has a very old version of libv8. Some packages may not work.", call. = FALSE)
  }
}

Try the V8 package in your browser

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

V8 documentation built on Oct. 10, 2023, 1:08 a.m.