Closed mattdowle closed 5 years ago
genderizeR
gives the same errors on CRAN data.table
. I see what looks like a bug in the code; have filed: https://github.com/kalimu/genderizeR/issues/9
musica
appears related to rbindlist
combining IDate
column (underlying integer
with attribute) and factor
:
DT1 = data.table(
prse = structure(5478L, class = c("IDate", "Date"))
)
DT2 = data.table(
prse = structure(1L, .Label = c("1970-01-01"), class = "factor")
)
rbind(DT1, DT2)
# prse
# 1: 5478
# 2: 1970-01-01
although it's the same output as 1.12.2:
rbind(DT1, DT2)
prse
1: 5478
2: 1970-01-01
still it's something to address
optiSel
appears spurious. WARNING
from its own C++ code and NOTE
about the package size
Oh, actually, musica
is due to this:
https://github.com/Rdatatable/data.table/pull/3630#issue-285319167
Apparently musica
was relying on untested behavior of cut.IDate
to return an IDate
; now it returns a factor but mean.IDate
still returns IDate
, hence the mismatch across groups for rbindlist
.
Will restore cut.IDate
and add some tests...
I don't think parallelMap
has anything to do with us. Can reproduce the test error by cloning their GH & running source('run-all.R')
from their tests
directory, but the stack trace is:
Browse[1]> f
── 1. Error: batchtools mode (@test_batchtools.R#11) ──────────────────────────
unused argument (V1 = 1)
1: partest1() at testthat/test_batchtools.R:11
2: expect_equal(parallelMap(identity, 1), list(1)) at /Users/michael.chirico/github/parallelMap/tests/testthat/helpers.R:9
3: quasi_label(enquo(object), label, arg = "object")
4: eval_bare(get_expr(quo), get_env(quo))
5: parallelMap(identity, 1)
6: checkResultsAndStopWithErrorsMessages(res)
7: stopWithJobErrorMessages(inds, vcapply(result.list[inds], as.character))
8: stopf("Errors occurred in %i slave jobs, displaying at most 10 of them:\n\n%s\n%s",
n, collapse(msgs, sep = "\n"), extra.msg)
(nothing data.table
)
And it's the same with CRAN data.table
On parallelMap
, it's the CRAN check page to go off and that looks all-OK : https://cran.r-project.org/web/checks/check_results_parallelMap.html. That makes it more likely it is to do with us. parallelMap
suggests batchtools
and the output mentions test_batchtools.R
. So probably fixing batchtools
(#3854) will fix parallelMap
too then. Great.
Rerun with latest master to see the impact of #2734. @MarkusBonsch was very careful to make no breaking changes. Then I continued in the PR and did change a few things; e.g. now retaining the i column type when mismatch types are joined.
R CMD check
rerun ok (it open chrome tabs / resource / conflict when parallel check)fail.log
fail.log
37 of the 39 Bioc are also error/warning with v1.12.2. So those are unrelated to data.table. This is the log for those 37 : fail.log 39 - 37 = 2 which could be related to data.table :
Dear maintainers,
We're working on releasing data.table 1.12.4 and have run
R CMD check
on your package with the new version to check the impact. But your package is already showing an error or warning with the current release 1.12.2. I think these are unrelated to data.table but it makes my job harder when these packages are already in error/warning status. In some cases I have been emailing you for several years about this.The reverse dependency checking process is logged and discussed here: https://github.com/Rdatatable/data.table/issues/3581
Log attached for these 37 packages: fail.log
And the 3 CRAN packages :
Dear 3 maintainers,
I'm working on releasing data.table 1.12.4 to CRAN and checking all packages which use it (922 reverse dependencies including Bioconductor) to check for any impact. Your package is already in warning or error status on CRAN with the last release (1.12.2). So it's harder for me to spot errors or warnings that the data.table update causes when your package is already showing error or warnings. Please could you fix these and update on CRAN.
https://cran.r-project.org/web/checks/check_results_genderizeR.html https://cran.r-project.org/web/checks/check_results_optiSel.html https://cran.r-project.org/web/checks/check_results_SpaDES.core.html
For background info, and your entertainment, the revdep check process is logged here: https://github.com/Rdatatable/data.table/issues/3581
There's no rush, and this isn't holding up release.
Thanks, Matt