Closed reblake closed 5 years ago
Hey @reblake thanks for the writeup. I can reproduce this over here so I'll take a look.
The behavior is part rhandsontable
, which we use to build an editable table for the CSV in Shiny, and how readr
guesses column types. We were letting readr
default columns without any data to logical
, which rhandsontable
uses checkboxes for logical
columns.
I looked at our four CSVs and figured it'd be fine to just change the default to character
when there's no value. It's not perfect for cols like endDate
but it's better than having checkboxes.
If we feel like it, later on we could provide readr
col
definitions for each column in each file.
Sending a PR up in a sec.
Hey @reblake, can you reinstall and give it a test?
I tested, and this has been fixed. Thanks!
Excellent, thanks for testing @reblake! (and reporting)
When a .csv file is partially filled via prep* or edit* functions, any remaining blank cells are check boxes when the file is opened again. New information cannot be added to cells.
This might be a bug in the shiny apps, but might be a problem with saving the .csv files. I haven't been able to pinpoint it.
Example workflow that should illustrate the problem:
Screenshot of problem: