Download the OTP jar file from maven.org
Usage
otp_dl_jar(
path = NULL,
version = "1.5.0",
file_name = paste0("otp-", version, "-shaded.jar"),
url = "https://repo1.maven.org/maven2/org/opentripplanner/otp",
quiet = FALSE,
cache = TRUE
)Details
As of version 0.3.0.0 `otp_dl_jar` will cache the JAR file within the package and ignore the `path` argument. You can force a new download to be saved in the `path` location by setting `cache = FALSE`.
Examples
if (FALSE) { # \dontrun{
otp_dl_jar(tempdir())
} # }
