tests/testthat/test-terrain.R

test_that("flsgen_terrain", {
  terrain <- rflsgen::flsgen_terrain(200, 200)
  testthat::expect_s4_class(terrain, class = "SpatRaster")
})

Try the rflsgen package in your browser

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

rflsgen documentation built on July 4, 2024, 1:10 a.m.