tests/testthat/test-opts.R

test_that("tiler_options runs as expected", {
  expect_identical(names(tiler_options()), c("python", "osgeo4w"))
  python <- tiler_options()$python
  expect_is(tiler_options(python = "x"), "NULL")
  expect_equal(tiler_options()$python, "x")
  expect_is(tiler_options(python = python), "NULL")
})

Try the tiler package in your browser

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

tiler documentation built on Sept. 10, 2023, 9:06 a.m.