When I try to deploy my app, I get the following error message:
> rsconnect::deployApp('C:/Users/tsunderl/Desktop/folder')
Preparing to deploy application...DONE
Uploading bundle for application: 352639...Error: Unable to retrieve package records for the following packages:
- "grDevices", "graphics", "methods", "stats", "tools", "utils"
In addition: Warning messages:
1: In FUN(X[[i]], ...) :
Failed to infer source for package 'BH'; using latest available version on CRAN instead
2: In FUN(X[[i]], ...) :
3: In FUN(X[[i]], ...) :
4: In FUN(X[[i]], ...) :
5: In FUN(X[[i]], ...) :
Failed to infer source for package 'sourcetools'; using latest available version on CRAN instead
6: In FUN(X[[i]], ...) :
7: In FUN(X[[i]], ...) :
8: In FUN(X[[i]], ...) :
I simplified my program so it doesn't even use any packages and it still doesn't work.
library(shiny,lib.loc = 'C:\\temp\\R\\win-library')
ui <- fluidPage("hello world",actionButton("button","Submit")
,textOutput("text"))
server <- function(input, output, session) {
run<-eventReactive(input$button,{
print("Complete")
})
output$text<-renderText(run())
}
shinyApp(ui, server)