tests/testthat/test-sascfg.R

# sascfg ----

test_that("sascfg creates sas configuration file", {
  skip_if_not(py_available(TRUE))
  tmpf <- tempfile()
  sascfg(ssh = "ssh", saspath = "sas", host = "test.com", sascfg = tmpf)
  on.exit(unlink(tmpf))
  expect_file_exists(tmpf)
})

Try the sasr package in your browser

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

sasr documentation built on April 3, 2025, 11:24 p.m.