tests/testthat/setup-json_data.R

json_data <- lapply(
  list.files(trans_path(), pattern = ".*\\.json", full.names = TRUE),
  jsonlite::read_json
)

Try the translated package in your browser

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

translated documentation built on April 25, 2023, 5:09 p.m.