phenoscape / rphenoscape

R package to make phenotypic traits from the Phenoscape Knowledgebase available from within R.
https://rphenoscape.phenoscape.org/
Other
5 stars 5 forks source link

Fix failing v2-beta API obtaining corpus size test #220

Closed johnbradley closed 3 years ago

johnbradley commented 3 years ago

The obtaining corpus size test is failing with the following error:

── Failure (test-freqs.R:78:3): obtaining corpus size ──────────────────────────
`s` is not strictly less than 50000. Difference: 5.12e+03

Cod where the test is failing: https://github.com/phenoscape/rphenoscape/blob/b668eb99c7fd29dc24a2ee6dd4c7f19a48926aca/tests/testthat/test-freqs.R#L76-L78

The corpus size for genes is now over 50000:

> corpus_size("genes")
[1] 55120
johnbradley commented 3 years ago

Fixed by PR #221