tests for connect_to_etn()
deprecation fail in R CMD CHECK, order matters?
#319
Labels
connect_to_etn()
deprecation fail in R CMD CHECK, order matters?
#319
I found a strange bug in #313
The tests for the
connect_to_etn()
deprecation fail, but only when running R CMD CHECK, ordevtools::test(filter = "connect_to_etn")
, but not when clicking Run Tests or when I try running R CMD CHECK locally. Maëlle also tried, and had no failures locally.The order of the tests also seems to matter, as the first test always passes, and the 2nd and 3rd then fail:
We suspected for a moment it might have something to do with the
lifecyle
behavior around options(lifecycle_verbosity). However,expect_deprecated()
should set this option to warn:And, our function has
always = TRUE
so it should warn every time anyways.Also tried with
expect_warn
and have the same issues there.The text was updated successfully, but these errors were encountered: