Skip to contents

Accepts an arXiv identifier (e.g. "2401.01234" or "arXiv:2401.01234"), an arXiv DOI (10.48550/arXiv.*), or a bioRxiv DOI (10.1101/*).

Usage

check_preprint(x)

Arguments

x

A preprint identifier or DOI.

Value

A one-row tibble with id, server, withdrawn, and title; or NULL if x is not a recognized preprint identifier.

Examples

# \donttest{
check_preprint("10.1101/2020.01.30.927871")
#> # A tibble: 1 × 4
#>   id                        server  withdrawn title                             
#>   <chr>                     <chr>   <lgl>     <chr>                             
#> 1 10.1101/2020.01.30.927871 biorxiv TRUE      Uncanny similarity of unique inse…
# }