tests/testthat/test-extracts.R

# Extract methods

test_that("Extractors work as expected", {

  expect_class(boundary$sfa, "sf")
  expect_class(boundary_discrete$sfa, "sf")
  expect_class(biomass_dataset$sfa, "sf")
  expect_class(biomass_dataset_smoothed$sfa, "sf")
  expect_class(sspm_model$sfa, "sf")

})

Try the sspm package in your browser

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

sspm documentation built on April 4, 2025, 1:43 a.m.