Travis build status

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

Open Trip Planner for R

The goal of Open Trip Planner for R is to provide a simple R interface to Open Trip Planner (OTP).

Installation - Open Trip Planner

To use Open Trip Planner for R you will need a running instance of OTP. A basic tutorial on setting up OTP is available at http://docs.opentripplanner.org/en/latest/Basic-Tutorial/, and an intermediate tutorial complete with sample data is available at https://github.com/marcusyoung/otp-tutorial.

Instructions for installing OTP on Linux can be found in the getting-started vignette.

Installation - R Package

Install the package with devtools as follows:

# install.packages("devtools")
devtools::install_github("marcusyoung/opentripplanner")

Tests

Tests only run on machines that have the environment variable I_have_OTP with the value TRUE. You can add this with usethis::edit_r_environ().

Sys.getenv("I_have_OTP")


marcusyoung/opentripplanner documentation built on May 20, 2019, 4:42 p.m.