-
Notifications
You must be signed in to change notification settings - Fork 3
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
test failure in round_coordinates()
#302
Labels
bug
Something isn't working
Comments
This is the test that is failing: test_that("round_coordinates() does not allow to round to higher precision", {
mica2 <- round_coordinates(mica, 2)
# Based on package$coordinatePrecision
expect_error(
round_coordinates(mica2, 3),
paste(
"Can't round from 2 to 3 digits.",
"`2` is derived from the `package$coordinatePrecision=0.01`."
),
fixed = TRUE
)
# Based on data
mica2$coordinatePrecision <- NULL
expect_error(
round_coordinates(mica2, 3),
paste(
"Can't round from 2 to 3 digits.",
"`2` is the maximum number of decimals for latitude in the data."
),
fixed = TRUE
)
})
|
Session info of a failing mac os machine (Github Actions CI)
|
Possibly related to issue in glue: apache/arrow#40858 |
May be due to trailing commas: tidyverse/glue#320 ! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm experiencing CI failures in PR #300
I'm having trouble replicating on my system, this is what the CI reports;
Failing at:
camtraptor/R/round_coordinates.R
Lines 58 to 67 in 45b72a2
Runs failing:
Some of the older releases on Ubuntu seem fine...
current head 45b72a2
My system:
The text was updated successfully, but these errors were encountered: