I’ve written a shiny app that uses the
data.table package. The app uses a number of lookup summary tables, which I generate locally before publishing. To generate these summary tables I prefer to use the development version of data.table (v 1.10.5) rather than the latest stable version (18.104.22.168), as the script takes about 5-10 minutes longer to run when using 22.214.171.124. The actual app doesn’t make use of any dev features.
However, with v.1.10.5 installed, I can’t publish to shinyapps.io (by clicking publish in the RStudio pane) as
rsconnect::appDependencies complains that my version of
data.table is not supported. This I understand – I’m not suggesting shinyapps permit dev versions of packages; however, given I know that the CRAN version will be fine, how can I publish nonetheless, using the latest stable version? The help page for
rsconnect::appDependencies provides help in the inverse case (when a package is actually required but rsconnect doesn’t notice).
My current workaround is to uninstall
data.table, then reinstall from CRAN, publish, then do the reverse. This isn’t too bad, but seems unnecessary.