tests/testthat/test-get-options.R

context("get_options")

test_that("get_options() yields correct output", {
  testthat::skip_on_cran()
  
  expect_output(get_options(alg = "saga:slopeaspectcurvature", intern = FALSE))
  
  expect_is(
    get_options(alg = "saga:slopeaspectcurvature", intern = TRUE),
    "character"
  )
})
r-spatial/RQGIS documentation built on April 24, 2020, 7:37 p.m.