ipums / ipumsr

Request, download, and read IPUMS data in R
https://tech.popdata.org/ipumsr/
Mozilla Public License 2.0
20 stars 4 forks source link

CRAN check fix #50

Closed robe2037 closed 1 year ago

robe2037 commented 1 year ago

Additional tweaks to resolve unit test errors occurring on some platforms during CRAN checks. Not all errors were addressed during the 0.6.1 release.

Updated test_check() reporter to localize the source of additional errors, which identified issues in a test for NHGIS reader functionality that wrote to and read from a temporary directory. Similarly to the 0.6.1 updates, this has been updated to use a small test fixture rather than produce the example files during the test.

This passes on all platforms that are failing on CRAN, checked via R-hub and win-builder.