Package parsing issue when deploying to shinyapps.io

I have an app that had previously been deployed here:

https://rtldatasci.shinyapps.io/tn_corona_visualizer/

However, the code is very slow, so I updated the logic to run faster. I included two new packages: "DescTools" and "taRifx"

It runs fine when I use runApp() locally, but has a package parsing issue when I try to deploy it. The error looks like this:

Preparing to unpack .################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 814206163 failed: Error building image: Error fetching raster (3.0-14) source. <CRANPackageSource repo='http://cran.rstudio.org'> unable to satisfy package: raster (3.0-14)
In addition: Warning message:
In fileDependencies.R(file) :
  Failed to parse C:/Users/rtlum/AppData/Local/Temp/RtmpIFpca8/file23d07237498c/TN Corona Visualizer.R ; dependencies in this file will not be discovered.

Can anyone help me with this? Thanks for taking the time to read my question~

Rowan

Hello,

So, a simple uninstall and reinstall fixed the issue. Sorry for wasting anyone's time.

remove.packages("raster")
install.packages("raster")

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.