tests/testthat/test-api.R

context("API stuff")

with_mock_crunch({
    expect_header(crGET("https://app.crunch.io/api/"), "user-agent:.*crplyr/.*")
})

Try the crplyr package in your browser

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

crplyr documentation built on March 31, 2023, 9:30 p.m.