r-rudra / tidycells

Automatic transformation of untidy spreadsheet-like data into tidy form
https://r-rudra.github.io/tidycells/
Other
83 stars 10 forks source link

Add self-test feature to test file-readability on the fly based on user demand #12

Open bedantaguru opened 4 years ago

bedantaguru commented 4 years ago

Already added a prototype/working version in cae10c0575586d3f9e669355487328e40d1e20e4

This is to test read functions capabilities for various file types.

A broader framework can be adopted here to make almost all tests available to the user through appropriate channels.

The idea is that a test will be conditional when there is a heavy dependency on the system or third-party library. But user should have an option to run these tests for debugging/knowing machine issues. A guide also can be made for raising the issue in Github for the same.

This can be implemented by adopting tests that were already written.

As of now, a separate function is written for a test. https://github.com/r-rudra/tidycells/blob/cae10c0575586d3f9e669355487328e40d1e20e4/R/possible_to_support.R#L205