tests/testthat/test-argument-datacube.R

test_that("test parsing parameter description for subtype='datacube'",{
  json = list(
    name="data",
    description= "The data to deliver in the given file format.",
    schema= list(
      type= "object",
      subtype= "datacube"
    )
  )
  
  param = openeo:::parameterFromJson(json)
  expect_contains(class(param),"datacube")
})

Try the openeo package in your browser

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

openeo documentation built on June 8, 2025, 11:46 a.m.