File: onLoad.R

package info (click to toggle)
r-cran-v8 7.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 440 kB
  • sloc: javascript: 980; cpp: 432; sh: 23; makefile: 8
file content (7 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
.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)
  }
}