Shiny deploy error - Error in value[3L] : object 'full_set' not found

shiny-deploy

#1

Hello Brian

I received a similar error. Please see the error below.
Please point me in the correct direction.

Kind regards

── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
✔ ggplot2 3.0.0     ✔ purrr   0.2.5
✔ tibble  1.4.2     ✔ dplyr   0.7.6
✔ tidyr   0.8.1     ✔ stringr 1.3.1
✔ readr   1.1.1     ✔ forcats 0.3.0
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

    dataTableOutput, renderDataTable

Error in value[[3L]](cond) : object 'full_set' not found
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

Shiny app deployment error - Error in value[[3L]](cond) : Cannot open data source
#2

Hi Joe, can you share the code where you are loading your data?


#3

Hello Brian

Did I answer your question with sufficient clarity?

Kind regards


#4

Dear Josh

I have a similar error message (Error in value[3L]

Can you please point me in the correct direction.

Kind regards

── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
✔ ggplot2 3.0.0     ✔ purrr   0.2.5
✔ tibble  1.4.2     ✔ dplyr   0.7.6
✔ tidyr   0.8.1     ✔ stringr 1.3.1
✔ readr   1.1.1     ✔ forcats 0.3.0
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()

Attaching package: ‘DT’

The following objects are masked from ‘package:shiny’:

    dataTableOutput, renderDataTable

Error in value[[3L]](cond) : object 'full_set' not found
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

Shiny app deployment error - Error in value[[3L]](cond) : Cannot open data source
#5

Dear Brian

Thank you for your response.

Below I show where the data object is located and further below the server code to load the data into the table.

library(tidyverse)
library(shiny)
library(DT)
library(shinythemes)

full_set
funded
unfunded
not_available

 # Full dataset
  output$datatable <- DT::renderDataTable({
    if(input$show_data) {
      DT::datatable(data = full_set, 
                    options = list(pageLength = 3), 
                    rownames = FALSE)
    }
  })

#6

@JoeMark

Without a full file to inspect, please make sure that full_set is set to a value in your app file before being read for the first time. If the full_set value is only defined in your workspace (and not the file), the shiny app will not be able to retrieve full_set as it is run in an isolated R process.

Best,
Barret


#7

Gooday Barret

I attempted to publish my app to shinyapps.io only to discover that my status is 'new' with a requirement to validate with a new code.

Has this happened to others?

Kind regards
Joe Mark