tests/testthat/helper-rcrossref.R

# set up vcr
library("vcr")
invisible(vcr::vcr_configure(
    dir = "../fixtures",
    filter_sensitive_data = list(
        "<crossref_email>" = Sys.getenv("crossref_email")
    )
))

pj <- function(x) jsonlite::fromJSON(x)

Try the rcrossref package in your browser

Any scripts or data that you put into this service are public.

rcrossref documentation built on Nov. 12, 2022, 1:17 a.m.