`loadConfig` and `getDataPath` from fairified package are not available in Rmd documents
TalanoaHydro is a fairified project with a report.
When rendering the report, after having loaded the library, the calls to loadConfig and get DataPath arrived directly in fairify.
Example of code in the Rmd:
library(TalanoaHydro)
browser()
cfg <- loadConfig()
At the browser
, we can ask the namespace associated to loadConfig
Browse[1]> closeAllConnections()
Browse[1]> environment(fun = loadConfig)
<environment: namespace:fairify>
Then the call to loadConfig fails because the argument pathDefaultCfg
is not defined.