Minimal skeleton for uscogdata v0.1. Internal session layer with lazy cog_open(), manifest fetch+validate+cache, view registration placeholder. Depends on DuckDB >=1.0, httr2, jsonlite. inst/schemas/provenance-v1.json ships the structured provenance JSON Schema.
7 lines
262 B
R
7 lines
262 B
R
# tests/testthat/helper-fixture.R
|
|
skip_if_no_corpus <- function() {
|
|
testthat::skip_if(Sys.getenv("USCOGDATA_FIXTURE_URL", "") == "" &&
|
|
!file.exists("~/.cache/R/uscogdata/manifest.json"),
|
|
"No fixture corpus available")
|
|
}
|