Whenever readGENEActiv() got a request to read more data than what was left in the file, it used to print an error when the end of file was reached. The error was "data error at i = %d: %s i: <...> stoll: no conversion", in red; this made it look like something went wrong.
This PR removes this unnecessary error. Reaching the end of file in this scenario is normal behavior, and should not result in an error printed to Rcerr.
Checklist before merging:
[X] Existing tests still work (check by running the test suite, e.g. from RStudio).
[ ] Added tests (if you added functionality) or fixed existing test (if you fixed a bug).
[ ] Updated or expanded the documentation.
[ ] Updated release notes in inst/NEWS.Rd with a user-readable summary. Please, include references to relevant issues or PR discussions.
[ ] Added your name to the contributors lists in the DESCRIPTION file, if you think you made a significant contribution.
Fixes https://github.com/wadpac/GGIRread/issues/58
Whenever
readGENEActiv()
got a request to read more data than what was left in the file, it used to print an error when the end of file was reached. The error was "data error at i = %d: %s i: <...> stoll: no conversion", in red; this made it look like something went wrong.This PR removes this unnecessary error. Reaching the end of file in this scenario is normal behavior, and should not result in an error printed to
Rcerr
.Checklist before merging:
inst/NEWS.Rd
with a user-readable summary. Please, include references to relevant issues or PR discussions.DESCRIPTION
file, if you think you made a significant contribution.