-
Notifications
You must be signed in to change notification settings - Fork 139
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
Internal error in vec_assign()
after #1200
#1203
Comments
Here's the traceback for the example: 6: stop(msg, call. = FALSE, domain = NA)
5: value[[3L]](cond)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
3: tryCatchList(expr, classes, parentenv, handlers)
2: tryCatch({
attr(package, "LibPath") <- which.lib.loc
ns <- loadNamespace(package, lib.loc)
env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)
}, error = function(e) {
P <- if (!is.null(cc <- conditionCall(e)))
paste(" in", deparse(cc)[1L])
else ""
msg <- gettextf("package or namespace load failed for %s%s:\n %s",
sQuote(package), P, conditionMessage(e))
if (logical.return)
message(paste("Error:", msg), domain = NA)
else stop(msg, call. = FALSE, domain = NA)
})
1: library(baguette) |
@lionel- Does this require restoring the default behavior with |
There should be no behaviour change here, so there is something wrong, thanks for the report.
It's more complicated than that because we previously interpreted |
This affects many packages/functions. A few tests confirm that it's due to #1200. Probably,
vctrs
needs a patch for this. Here's a simple example:Created on 2021-05-12 by the reprex package (v2.0.0.9000)
Session info
The text was updated successfully, but these errors were encountered: