tests/testthat/test-cgal_present.R

test_that("cgal present", {
  testthat::expect_true(RcppCGAL::cgal_is_installed())
})

# testthat::test_that("cgal compiles", {
#   Rcpp::sourceCpp(file = "cpp/cgal_test_fun.cpp")  
#   testthat::expect_true(cgal_test_())
# })

Try the RcppCGAL package in your browser

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

RcppCGAL documentation built on Sept. 11, 2024, 7:55 p.m.