R tibble() objects can contain objects that do not have asJSON methods (e.g., difftime objects, units objects, etc.) . In these cases R will return an error when calling the View() function provided by VSCode-R:
Error: No method asJSON S3 class: units
However, the default utils::View() function can still display these datatypes. It would be great if either:
- VSCode-R
View() function could automatically default to using utils::View() if an asJSON error is encountered, or
- The error message returned by VSCode-R
View() function could direct users to try using utils::View() to display the dataset.