Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

otp_dl_jar

Download OTP Jar File


Description

Download the OTP jar file from maven.org

Usage

otp_dl_jar(
  path = NULL,
  version = "1.4.0",
  file_name = paste0("otp-", version, "-shaded.jar"),
  url = "https://repo1.maven.org/maven2/org/opentripplanner/otp",
  quiet = FALSE,
  cache = TRUE
)

Arguments

path

path to folder where OTP is to be stored

version

a character string of the version number default is "1.4.0"

file_name

file name to give the otp default "otp.jar"

url

URL to the download server

quiet

logical, passed to download.file, default FALSE

cache

logical, default TRUE, see details

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'.

Value

The path to the OTP file

See Also

Examples

## Not run: 
otp_dl_jar(tempdir())

## End(Not run)

opentripplanner

Setup and connect to 'OpenTripPlanner'

v0.3.1
GPL-3
Authors
Malcolm Morgan [aut, cre] (<https://orcid.org/0000-0002-9488-9183>), Marcus Young [aut] (<https://orcid.org/0000-0003-4627-1116>), Robin Lovelace [aut] (<https://orcid.org/0000-0001-5679-6536>), Layik Hama [ctb] (<https://orcid.org/0000-0003-1912-4890>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.