-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release checks #3211
Comments
I notice that significant changes are made recently so I keep up with those on a daily basis. So far the system runs perfectly with 4c9a1f0. As for the total time, it is unfortunate that fork parallelism is heavily used so that multi-threading falls to single thread and does not recover when fork is ended. Therefore I haven't observed significant difference in computing time so far. I'll test against the latest commit very soon. |
Thanks @renkun-ken! |
Latest commit 0daefad is broken here. I'll take a closer look and file an issue about it soon. |
The problem lies on an assumed behavior that |
Thanks @renkun-ken. #3214 now fixed by PR #3213 and merged. |
@renkun-ken Many thanks for this invaluable testing!! |
A full run with 76d4a62 is in progress... |
Just found another issue which seems to be breaking. The updated subsetting tends to under-allocating. See #3228. |
Empty dt <- data.table(x = rnorm(10), y = rnorm(10))
cols <- intersect(c("p", "q"), names(dt))
dt[, x := rowSums(.SD), .SDcols = cols] As #3229 has just been merged, no other issues are found so far. |
Thanks again for the quick turnaround! Looks like that failed in 1.11.8 too but with a better message. Will make the error message same as before but still an error, right? > dt <- data.table(x = rnorm(10), y = rnorm(10))
> cols <- intersect(c("p", "q"), names(dt))
v1.11.8
======
> dt[, x := rowSums(.SD), .SDcols = cols]
Error in `[.data.table`(dt, , `:=`(x, rowSums(.SD)), .SDcols = cols) :
RHS of assignment to existing column 'x' is zero length but not NULL. If you intend to
delete the column use NULL. Otherwise, the RHS must have length > 0; e.g., NA_integer_.
If you are trying to change the column type to be an empty list column then, as with all
column type changes, provide a full length RHS vector such as vector('list',nrow(DT));
i.e., 'plonk' in the new column.
dev error not intended
======
> dt[, x := rowSums(.SD), .SDcols = cols]
Error in `[.data.table`(dt, , `:=`(x, rowSums(.SD)), .SDcols = cols) :
Empty .SDcols is not yet supported. |
Sorry, I just noticed that there might be a bug in 1.11.8 on empty The following code works with 1.11.8: library(data.table)
dt <- data.table(x = rnorm(10), y = rnorm(10))
gs <- list(a = c("x", "y", "z"), b = c("p", "q"))
for (g in names(gs)) {
dt[, (g) := rowSums(.SD), .SDcols = intersect(colnames(dt), gs[[g]])]
} But if the I think I should change my code here. |
@renkun-ken With that PR just merged, it should be back to 1.11.8 behavior w.r.t. empty |
Another issue: #3245. |
@renkun-ken Thanks again, fixed. Please rerun. |
A full run with f73e7b0 works perfectly. |
Looks like all issues for milestone 1.12.0 are closed. It's time to initiate a full run. |
It usually takes at least a day or so for CRAN's revdep checks to run plus there's almost-always something unexpected at that stage to iron out and resubmit anyway. So I'll submit to CRAN now so that process can start. If Kun finds anything in his final rerun I can ask CRAN to halt depending on what it is.
|
@mattdowle Everything works perfectly. |
web browsers often cache website so might not show new version on cran, the following can be helpful: Rscript -e 'data.table::fread("https://cran.r-project.org/web/packages/data.table/index.html", sep=NULL, header=FALSE)[24]' |
Or Ctrl+F5 does a hard refresh. |
In some ways I think the most significant item of this release is note 1. The bug report to r-core is open with no progress. It's potentially really serious and could have affected a lot of packages for a long time, silently. Sadly, the helpful long new message won't trigger in 1.12.0. Instead there'll be a terse message that |
Be sure to tweet after cran release will be rolled out so we can get feedback from windows users on that. @mattdowle Done: https://twitter.com/MattDowle/status/1084528873549705217 |
1.12.0 is on CRAN. |
Hi @renkun-ken.
Could you run latest data.table dev through your systems please.
There are some significant internal code changes that it would be good to run past your checks early.
Please check that more cores are being used more of the time, and whether your test suite total time is any faster or not.
Thanks!!
Matt
The text was updated successfully, but these errors were encountered: