I've updated my app.R file and have attempted to deploy it in the same way I always do. However, I got this error:
Warning: Unable to determine the repository for package semantic.dashboard
Warning: Unable to determine the repository for package shiny.semantic
Error:
* Unable to determine the location for some packages. Packages must
come from a package repository like CRAN or a source control system.
Check that options('repos') refers to a package repository
containing the needed package versions.
Execution halted
It seems that shiny.semantic and semantic.dashboard were removed from CRAN yesterday (see: CRAN - Package shiny.semantic )
How do I proceed in this case? Can I find out why these were removed? The link only says "check problems were not corrected in time".
This is where you should use a snapshot it to be honest. So revert to an older version of R and then see if you can install all your packages and get it to run. It should be possible.
The package is still installed locally, so I can run my code without problems. The issue is that the R/Shiny app will not deploy - (seemingly) because it tries to install the required packages and fails because these 2 are no longer available on CRAN.
You failed to provide me with the right info. When it is building your image it needs to know from which point in time and from which build to do so. You should be able to adjust the snapshot of CRAN.
I need to know which versions of packages and which version of R you're using.
R 4.0.2
shiny.semantic v 0.4.3
semantic.dashboard v. 0.2.0
Deploy worked as of 2 days ago (before these 2 package were removed from CRAN). How can I use snapshot to point to the CRAN checkpoint from 2 days ago?
I have changed my version of R and gotten a dummy example going with shiny.sematic I am publishing it to shinyapps.io now. I'll let you know if it is successful and then I can share the steps with you.
I went to MRAN and installed Microsoft R from 4.0.2 which meant I was working from:
R version 4.0.2 (2020-06-22) -- "Taking Off Again"
So on Tools I changed my version of R to the above. I installed your shiny.semantic. I created the app and published it.
My version of shiny.sematic was older than yours 0.3.0. I primarily wanted to test if I can force shinyapps.io to make use of a much older time stamp and it works.
I've been tinkering around with this. For me, the checkpoint method did not work. It ran successfully, but did not seem to install either package as a previous version correctly.
You were right about the first step needed was to uninstall the packages.
After I did that, I took this strategy:
Find the latest version of each culprit package, even though they were removed from CRAN. I did this by checking the respective CRAN archive link.
Install the most recent package versions but via Github instead of CRAN: