tests/testthat/test-https.R

context("https")

test_that("https is exported, not http", {
    bib <- system.file("bib/Kisung_Rdpack_21.bib", package = "rbibutils")
    bib_Rdpack_21 <- readBib(bib)
                    # could extract the url field also with: bib_Rdpack_21[["example", "url"]]
    expect_true(grepl("https://arxiv.org/abs/1310.8110", bib_Rdpack_21["example"]$url))
})

Try the rbibutils package in your browser

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

rbibutils documentation built on Jan. 21, 2026, 9:07 a.m.