Nothing
context("cast_pv_data")
test_that("cast_pv_data casts data types as expected", {
skip_on_cran()
skip_on_ci()
pv_out <- search_pv(
query = "{\"patent_number\":\"5116621\"}", fields = get_fields("patents")
)
dat <- cast_pv_data(data = pv_out$data)
date <- !is.character(dat$patents$patent_date)
num <- is.numeric(dat$patents$patent_num_claims)
date2 <- !is.character(dat$patents$assignees[[1]]$assignee_last_seen_date[1])
expect_true(date && num && date2)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.