FredHutch / VISCtemplates

Tools for writing reproducible reports at VISC
Other
4 stars 2 forks source link

improve visc_load_pdata() error message when data package is not installed #151

Closed slager closed 1 month ago

slager commented 1 month ago

When using the data package method and when the data package is not installed (e.g., after an upgrade to R 4.4.0), the user sees a "no such file or directory" error.

Tweak function (and add test) to check if the data package is installed, and if not, issue a helpful error message saying the data package is not installed.