miroir de https://git.sr.ht/~hrbrmstr/metis
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
11 lignes
447 B
11 lignes
447 B
.onLoad <- function(libname, pkgname) {
|
|
rJava::.jpackage(pkgname, jars = "*", lib.loc = libname)
|
|
rJava::.jaddClassPath(dir(file.path(getwd(), "inst/java"), full.names = TRUE))
|
|
o <- getOption("java.parameters", "")
|
|
if (!any(grepl("-Xrs", o))) {
|
|
packageStartupMessage(
|
|
"Did not find '-Xrs' in java.parameters option. Until rJava is updated, ",
|
|
"please set this up in your/an Rprofile or at the start of scripts."
|
|
)
|
|
}
|
|
}
|
|
|