Skip to content

Commit

Permalink
clean up a test
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed Jul 27, 2024
1 parent ae4a049 commit d7c32c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-derivatives.R
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,9 @@ test_that("derivatives() works for fs smooths issue 57 and 301", {

# test variant in #301
logistic_growth_df$linearterm = runif(16)
m <- gam(y_obs ~ s(t, unit, k = 5, bs = "fs", m = 2) + linearterm,
m_logistic_growth <- gam(y_obs ~ s(t, unit, k = 5, bs = "fs", m = 2) + linearterm,
data = logistic_growth_df, method = "REML")
expect_silent(m <- derivatives(m))
expect_silent(fd <- derivatives(m_logistic_growth))
})

## tests for by variables & simultaneous intervals #102
Expand Down

0 comments on commit d7c32c3

Please sign in to comment.