aRxiv
aRxiv copied to clipboard
Continued pain regarding the tests
The arXiv API server was down much of the day. I revised things to try to avoid problems at CRAN in this situation, but I guess this wasn't totally successful, as I got the following report from Prof. Brian Ripley:
This ran its checks once, failed when run with --run-donttest and then again without. With the error:
* checking tests ...
Running ‘testthat.R’ [2s/26s]
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Component "authors": Lengths (3, 1) differ (string compare on first 1)
Component "affiliations": Lengths (3, 1) differ (string compare on first 1)
Component "link_abstract": Lengths (3, 1) differ (string compare on first 1)
Component "link_pdf": Lengths (3, 1) differ (string compare on first 1)
Component "link_doi": Lengths (3, 1) differ (string compare on first 1)
Component "comment": Lengths (3, 1) differ (string compare on first 1)
Component "journal_ref": Lengths (3, 1) differ (string compare on first 1)
Component "doi": Lengths (3, 1) differ (string compare on first 1)
Component "primary_category": Lengths (3, 1) differ (string compare on first 1)
Component "categories": Lengths (3, 1) differ (string compare on first 1)
Error: Test failures
Execution halted
So the issue is not just if the server is down, but if it is unreliable.
(It's working fine for me at the moment.)
hey @kbroman travis builds seem to be failing https://travis-ci.org/ropensci/aRxiv/builds any thoughts?
Thanks @sckott. It seems to be working again. My guess is that arXiv was down/failing when the test was run.
The arXiv problems are particularly painful as
- they're intermittent so hard to study
- arXiv still returns valid results (I think); they're just empty (and greatly delayed).
Seems to be failing again, though different errors https://travis-ci.org/ropensci/aRxiv/builds/102430733#L1054
Seems to be passing now, though. ¯\_(ツ)_/¯
Table flip