tests/testthat/testmars_control.R

# testmars_control.R
library(mars)
load("testmc.RData")
test_that("mars.control() returns the correct object", {
  expect_equal(mars.control(Mmax=10), testmc,ignore_attr=TRUE)
})
tauseefkashtwari/MARS-project documentation built on Sept. 12, 2022, 6:05 a.m.