dreamRs / datamods

Shiny modules to import and manipulate data into an application or addin
https://dreamrs.github.io/datamods/
GNU General Public License v3.0
138 stars 35 forks source link

Error: undefined columns selected in dataset View #64

Closed clemens-zauchner closed 1 year ago

clemens-zauchner commented 1 year ago

I am using esquisse::esquisser() version 1.1.2 with R 4.1.2 on Linux.

With some datasets, there is a problem with the View tab and it shows an error: Error: undefined columns selected

Steps to reproduce:

Import mtcars from datasets:

image

Klick on View:

image

The traceback looks like this:

Warning: Error in [.data.frame: undefined columns selected
  112: stop
  111: [.data.frame
  105: <Anonymous>
  103: callFunc
  102: FUN
  101: lapply
  100: reactable::reactable
   99: ::
htmlwidgets
shinyRenderWidget
   98: func
   85: renderFunc
   84: output$esquisse-import-data-view
    3: shiny::runApp
    2: runGadget
    1: esquisse::esquisser
pvictor commented 1 year ago

Thanks for reporting this, it was an error in package {datamods}, it's fixed in dev version.

Victor

clemens-zauchner commented 1 year ago

Thank you very much for the fix!