Queries the GitHub Releases API for the scienceverse/papers repository and
returns a table of available paper corpora that can be loaded with
papers_load().
Arguments
- repo
GitHub repository in "owner/repo" format; a private repository needs a GitHub token with access to it (see
github_pat())
Examples
# \donttest{
if (online("api.github.com")) {
# GitHub can refuse when its request limit is reached; then this says why
tryCatch(papers_available(), error = function(e) message(conditionMessage(e)))
}
#> name tag size_mb cached
#> 1 psychsci psychsci 8.2 FALSE
#> 2 ece3 ece3-2026-06-21 55.3 FALSE
#> 3 elife elife-2026-06-21 51.9 FALSE
#> 4 openmind openmind-2026-06-21 12.6 FALSE
#> 5 frontiers frontiers-2026-06-21 35.7 FALSE
#> 6 jdm jdm-2026-06-21 24.9 FALSE
#> 7 iperc iperc-2026-06-21 12.4 FALSE
#> 8 scan scan-2026-06-21 29.1 FALSE
#> 9 joc joc-2026-06-20 15.6 FALSE
#> 10 natcomm natcomm-2026-06-20 39.2 FALSE
#> 11 psychsci_oa psychsci_oa-2026-06-20 8.2 FALSE
#> 12 jssm jssm-2026-06-20 25.5 FALSE
#> 13 plosone plosone-2026-06-20 30.3 FALSE
#> 14 plosbio plosbio-2026-06-19 40.5 FALSE
#> 15 bmcoral bmcoral-2026-06-19 21.4 FALSE
#> 16 ijos ijos-2026-06-19 22.0 FALSE
#> 17 bmcmed bmcmed-2026-06-19 30.5 FALSE
#> 18 plosmed plosmed-2026-06-19 30.2 FALSE
#> 19 collabra collabra-2026-06-19 31.7 FALSE
# }
