SCasanova / f1dataR

An R package to access Formula 1 Data from the Ergast API and the unofficial F1 data stream via the fastf1 python library.
https://scasanova.github.io/f1dataR/
Other
53 stars 5 forks source link

Cache options lacking default when package is not loaded #181

Closed SCasanova closed 1 year ago

SCasanova commented 1 year ago

If I use a function using f1dataR:: notation i get the following error

Error in if (getOption("f1dataR.cache") %in% c("memory", "off", "filesystem")) { : 
  argument is of length zero

I assume it's because onLoad hasn't run and I haven't set up an option yet