Downloads JTS JAR files to inst/java
using utils::download.file(..., mode="wb")
install_jts(
path = find.package("rjts"),
url = NULL,
javadoc = FALSE,
sources = FALSE,
testbuilder = TRUE,
overwrite = FALSE,
...
)
Package folder to install into; Default: find.package("rjts")
Optional: custom URL or path to JAR file
Download "Javadoc" JAR? Default: FALSE
Download "sources" JAR? Default: FALSE
Download JTS Test Builder JAR? Default: TRUE
Overwrite existing JAR file (if present)? Default FALSE
additional arguments passed to utils::download.file()
(e.g. quiet
, method
)
Downloads and installs JAR files to file.path(find.package("rjts"), "inst", "java")
, then calls rJava::.jpackage()
to load the JAR files into Java classpath.
if (FALSE) {
install_jts()
}