Closed EOGrady21 closed 4 years ago
Bug solved!!
Source was traced back to bin_calculate
code. Due to small sample size of example data, casts were being split into very small sections (smaller than binSize
) which was throwing errors in calculations.
Inserted a workaround within bin_calculate
that skips a cast section if the total differen in depth of the cast section is less than the size of bins.
When running Travis CI build checks,
vpr_roi_concentration
continues to throws errors.Whenever the function is run, both in
create_sample_data
and in the function documentation example, as well as the testthat filetest_bin_calculate
. The result is this errorThis error cannot be reproduced locally, everything seems to run fine on my machine. The only possibility in my mind is that somehow the data being run in the remote is different somehow?
Currently solving the issue by removing the line from
create_sample_data
and using\dontrun{}
on the example forvpr_roi_concentration
however this is not a long term solution.