Closed favstats closed 3 years ago
"Fixed" this issue with following pull request: https://github.com/CorrelAid/datenguideR/pull/17
However, the original problem still exists. I just implemented an error handler to deal with this.
There are two (probably related) issues on Travis:
cbind
doesn't add source_dat
because it has zero rows
https://github.com/CorrelAid/datenguideR/blob/3d5d346bcf13b7f6b97dbc764c899d27c955bc5e/R/helpers_call_results.R#L142api_results
has zero rows
https://github.com/CorrelAid/datenguideR/blob/3d5d346bcf13b7f6b97dbc764c899d27c955bc5e/R/helpers_call_results.R#L200I implemented two temporary "fixes" for this:
source_dat
if it's not empty https://github.com/CorrelAid/datenguideR/blob/3d5d346bcf13b7f6b97dbc764c899d27c955bc5e/R/helpers_call_results.R#L139-L143add_substat_info
function https://github.com/CorrelAid/datenguideR/blob/3d5d346bcf13b7f6b97dbc764c899d27c955bc5e/R/dg_call.R#L179-L180See #32.
Need to find the reason why travis keeps breaking although it runs locally without problem.
Here is a failing Travis build for reference: https://travis-ci.org/CorrelAid/datenguideR/jobs/609598285?utm_medium=notification&utm_source=github_status