slab_find_config_file: Find the configuration file.

View source: R/settings.R

slab_find_config_fileR Documentation

Find the configuration file.

Description

Tries to find the path to the 'soccerlab.json' file. First, it tries to get this info from 'options(slab_config_file = )'. If this option is 'NULL' (the default) it tries to find the 'soccerlab.json' within the working directory. If the file does not exist, it raises an error.

Usage

slab_find_config_file()

Value

Character vector of length one contaning the path of the 'soccerlab.json' file.

See Also

['use_soccerlab'].


quesdnv/spf_rshiny documentation built on Feb. 8, 2024, 1:58 p.m.