-
Notifications
You must be signed in to change notification settings - Fork 119
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
v3.3.0 breaks #391
Comments
I can reproduce the error, 3.3.0 had a regression that caused the visibly of returned arguments to change, e.g. f <- function(x) {
x <- 1
} However covr 3.3.0 it would convert that call to essentially f <- function(x) {
({ x <- 1 })
} Which would then print, as f <- function(x) {
identity({ x <- 1 })
} Which preserves the original visibility. data.table has tests to verify that I will submit a new release of covr to CRAN early next week with this fix. In the meantime you can use the development version on travis etc, by putting |
Wow - thank's for the awesome reply, quick fix, and workaround too! |
I tried adding Anyway, what did work was using |
covr
is always so reliable and awesome! Today hit a very rare problem.Seems to have started to fail on Travis for data.table with the recent update. Is it data.table-only or affecting more packages? Haven't debugged it yet. Thought I'd see if you were aware first.
I can reproduce it locally :
The text was updated successfully, but these errors were encountered: