rstudio / shinydashboard

Shiny Dashboarding framework
https://rstudio.github.io/shinydashboard/
Other
884 stars 300 forks source link

Error when publishing: Package 'shindydashboard' not available in repository or locally #351

Open mjstypula opened 3 years ago

mjstypula commented 3 years ago

Hello, I am new here, so I apologize if I am not posting appropriately. I am trying to publish a shiny dashboard and I off-and-on am receiving the following error: Package 'shindydashboard' not available in repository or locally I have tried the following things: Ensure that I am loading the appropriate libraray(shinydashboard) in the R.app file Ensure that the "Save workspace to .RData on exit" is set to "Never"

Below is a copy of the Deploy Log:

----- Deployment log started at 2020-08-21 08:52:39 ----- Deploy command: rsconnect::deployApp(appDir = "~/R/PetChem/Petchem_App", appFileManifest = "C:/Users/mstypula/AppData/Local/Temp/0721-57ad-ba9c-ad04", account = "merrilstypuladeloitte", server = "shinyapps.io", appName = "Petchem_App", appId = 2689225, launch.browser = function(url) { message("Deployment completed: ", url) }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE), logLevel = "verbose")

Session information: R version 4.0.2 (2020-06-22) Platform: i386-w64-mingw32/i386 (32-bit) Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_4.0.2 rsconnect_0.8.16 Cookies: [1] "None" GET /v1/applications/2689225 440ms ----- Bundle upload started at 2020-08-21 08:52:40 ----- [2020-08-21 08:52:40] Inferring App mode and parameters [2020-08-21 08:52:40] Bundling app dir [2020-08-21 08:52:42] Generate manifest.json ----- Deployment error ----- Error in .traceback(x, max.lines = max.lines) : length(max.lines) <= 1 is not TRUE Calls: ... -> traceback -> .traceback -> stopifnot

----- Error stack trace ----- Error in .traceback(x, max.lines = max.lines) : length(max.lines) <= 1 is not TRUE Calls: ... -> traceback -> .traceback -> stopifnot In addition: Warning message: In FUN(X[[i]], ...) : Package 'shindydashboard' not available in repository or locally Error during wrapup: length(max.lines) <= 1 is not TRUE Error: no more error handlers available (recursive errors?); invoking 'abort' restart Execution halted

Any help on this issue would be greatly appreciated. I am happy to provide any additional information.

mjstypula commented 3 years ago

In addition, when I try to run the App in R, I receive the following error:

Loading required package: shiny

Attaching package: ‘shinydashboard’

The following object is masked from ‘package:graphics’:

box

Error in loadNamespace(name) : there is no package called ‘shindydashboard’

runApp('R/PetChem/Petchem_App') Error in loadNamespace(name) : there is no package called ‘shindydashboard’

JesseVent commented 3 years ago

Watch the spelling of the functions and package names I.e. in above code example you’ve spelt library as 'libraray' and shinydashboard as 'shindydashboard'

Try reinstall using install.packages(shinydashboard)and then try running library(shinydashboard) and see if that’s successful