mirror of https://git.sr.ht/~hrbrmstr/htmlunit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
318 B
12 lines
318 B
stop_logging <- function() {
|
|
rJava::J("java.util.logging.LogManager")$getLogManager()$reset()
|
|
invisible(NULL)
|
|
}
|
|
|
|
.onLoad <- function(libname, pkgname) {
|
|
rJava::.jpackage(pkgname, jars = "*", lib.loc = libname)
|
|
rJava::.jaddClassPath(dir(file.path(getwd(), "inst/java"), full.names = TRUE))
|
|
stop_logging()
|
|
}
|
|
|
|
|
|
|