If somehow an empty data.frame was written to a mif file and then read with read.quitte, the error message was incomprehensible:
Error in `if (last(period.columns) != length(header)) ...`:
! missing value where TRUE/FALSE needed
Run `rlang::last_trace()` to see where the error occurred.
Now, fail with
No column name found that could be understood as a 4-digit year.
let write.mif and write.IAMCxlsx try to convert to quitte instead of failing immediately, and warn in case of empty data
sort order in quitteSort according to function description, was somehow changed unnoticed in this commit
If somehow an empty data.frame was written to a mif file and then read with read.quitte, the error message was incomprehensible:
Now, fail with
let write.mif and write.IAMCxlsx try to convert to quitte instead of failing immediately, and warn in case of empty data
sort order in quitteSort according to function description, was somehow changed unnoticed in this commit