You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test coverage is good (91% atm), but it could be better.
A good place to start would be to implement a proper test for the print-method of jst_define_import. I have drafted a test (the last one in https://github.com/ropensci/jstor/blob/master/tests/testthat/test-import-spec.R, which is currently skipped), but it depends on the console width and is thus not working. A good version of the test would also check that the colors set with the crayon package are working.
Another option would be to work on the functions for re-importing files. This involves working with the file system (checking that files are being written or being deleted), but it should also be manageable.
Test coverage is good (91% atm), but it could be better.
A good place to start would be to implement a proper test for the print-method of
jst_define_import. I have drafted a test (the last one in https://github.com/ropensci/jstor/blob/master/tests/testthat/test-import-spec.R, which is currently skipped), but it depends on the console width and is thus not working. A good version of the test would also check that the colors set with thecrayonpackage are working.Another option would be to work on the functions for re-importing files. This involves working with the file system (checking that files are being written or being deleted), but it should also be manageable.