ropensci / oai

OAI-PMH R client
https://docs.ropensci.org/oai
Other
14 stars 4 forks source link

Fixed some dates for list_identifiers tests #26

Closed mbojan closed 9 years ago

mbojan commented 9 years ago

Addresses #19 and list_identifiers. No need to fetch 7000+ identifiers but fetching still 3-5 requests via resumptionToken.

Now when timing tests with NOT_CRAN=true I am getting:

10            test-providers.R     0.027    0.000   0.030      0.000     0.000
8          test-list_records.R     0.112    0.000   0.269      0.000     0.000
3           test-get_records.R     0.131    0.000   0.353      0.000     0.000
7  test-list_metadataformats.R     0.124    0.000   0.383      0.000     0.000
4         test-handle_errors.R     0.193    0.000   2.026      0.000     0.000
2               test-dumpers.R     0.721    0.021   2.181      0.000     0.000
5                    test-id.R     0.114    0.000   2.654      0.000     0.000
9             test-list_sets.R     1.640    0.012   3.953      0.000     0.000
6      test-list_identifiers.R     2.569    0.023   4.928      0.000     0.000
1     test-count_identifiers.R     0.302    0.011  17.956     13.116     0.095
sckott commented 9 years ago

thanks for getting to this!