Open krangaraju opened 9 months ago
@krangaraju
First, try quitting and restarting RStudio.
@JasonSills I tried that. I also tried reinstalling renv and rsconnect. Now I am not even able to Run the document unfortunately. I might have messed up something big time unfortunately.
@krangaraju Try reinstalling and updating all of the packages used in the dashboard.
@JasonSills I reinstalled all packages and now I am able to recreate the dashboard on my computer but still unable to publish to my Shinyapps.
Error in createAppManifest()
:
! All packages must be installed from a reproducible location.
✖ Can't re-install packages installed from source: ggplot2.
ℹ See rsconnect::appDependencies()
for more details.
Backtrace:
▆
@krangaraju - are you using ggplot2 in your dashboard? This could be the issue. Go ahead and send me your RMD file in an email.
@JasonSills I created the dashboard and ran it fine but when trying to publish after connecting to Shinyapps.io account, I am getting an error stop("aborting snapshot due to pre-flight validation failure") Error in renv_snapshot_validate_report(valid, prompt, force) : aborting snapshot due to pre-flight validation failure Calls: ... snapshotRenvDependencies -> -> renv_snapshot_validate_report
Execution halted
Could you please advise how I can fix this error and publish successfully?