Closed barrettk closed 5 months ago
FWIW res$stdout
looks like this:
> res$stdout
[1] "dir,error,termination," "test_batch_params/7,no ext file contents,,"
Im not aware of any other functions we could use to easily parse this into a table (without needing our own helper function), but if anyone is aware of any please let me know cc @kyleam @seth127
@barrettk Thanks for the analysis.
Im not aware of any other functions we could use to easily parse this into a table (without needing our own helper function)
We can use fread
; we just need to tell it that we know there's a header rather than letting it guess. See gh-648.
In one of the ongoing PRs, drone failed when pulling from CRAN.
it seems to be related to how
fread
works here, and originates from the latest data.table release (happened yesterday).The actual error that happens with
data.table 1.15.0
:With
data.table 1.15.0
, and after running line 81 ofparam-estimates-batch.R
(same as the link above), we end up with this data structure:With the previous version of
data.table
, we would get this:As you can see, the previous dataframe would fail when running these lines since
dir
is not a column name.As an aside, Im not too sure what this is doing (It didnt change the names in my testing, though perhaps it serves a purpose in other cases?)