cache_option: Interprets the cache option

Description Usage

Description

To control the way token is stored between sessions, the package uses looks for the option lufthansar_token_cache which can be set using options(lufthansar_token_cache=...). The options can include

TRUE

to store the cache in the file .lufthansa-token in the current working directory.

FALSE

to suppress storing the token. Without a cached file, the token will not be remembered between R sessions.

character

to indicate the file where the cache will be stored. This is used to both look for the file and store it in.

This function finds the option and interprets it for use by other functions.

Usage

1

peter0083/LufthansaR documentation built on May 21, 2019, 12:05 p.m.