tests/testthat/test-errors.R

test_that("errors are forwarded", {
  if(!maxima.env$maxima$isInstalled()) 
    skip("Maxima not installed")

  expect_error(maxima.get("1/0;"))
})

Try the rim package in your browser

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

rim documentation built on Aug. 24, 2023, 5:09 p.m.