IQSS / dataverse-client-r

R Client for Dataverse Repositories
https://iqss.github.io/dataverse-client-r
61 stars 24 forks source link

Test for expected data rectangles and file contents #70

Closed wibeasley closed 2 years ago

wibeasley commented 3 years ago

As part of the test suite (#4), the retrieved data & files should be compared to their expected values/file/data. Some of the options are:

kuriwaki commented 3 years ago

What's the difference between the second and third items? Once a tabular datafile is read into R, it's already a dataframe.

If we want to go for extensive tests, I think we want tests for:

kuriwaki commented 2 years ago

The above commits give decent tests for rds and rda.