Checks if the list of OTP configuration options is valid

otp_validate_config(config, type = attributes(config)$config_type)

Arguments

config

A named list made/modified from `otp_make_config()`

type

type of config file

Details

Performs basic validity checks on class, max/min values etc as appropriate, some of more complex parameters are not checked. For more details see:

http://docs.opentripplanner.org/en/latest/Configuration http://dev.opentripplanner.org/javadoc/1.3.0/org/opentripplanner/routing/core/RoutingRequest.html

See also

Examples

if (FALSE) { conf <- otp_make_config("build") otp_validate_config(conf) }