-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
We are getting R CMD Check errors on R 3.6 now. An example of the error is:
Error: --- re-building 'ipums-api-agg.Rmd' using rmarkdown
Quitting from ipums-api-agg.Rmd:150-152 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `vapply()`:
! values must be length 1,
but FUN(X[[1]]) result is length 0
---
Backtrace:
x
1. \-vcr::insert_cassette("nhgis-metadata-summary")
2. \-webmockr::enable(quiet = vcr_c$quiet)
3. \-base::vapply(...)
Gemini suggests that this could be due to the fact that webmockr requires R >= 4.1, which means that when testing on R 3.6, we are forced to use an older version of webmockr, and perhaps the combination of an older version of webmockr with a newer version of vcr is leading to this error.
The easiest and most sustainable fix would probably be to up our minimum required R version to 4.1. Would you have any objections to that change @robe2037?
Metadata
Metadata
Assignees
Labels
No labels