Skip to content

Commit 320be6a

Browse files
Test cf_data with locfit and gam
1 parent 538a6e1 commit 320be6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testthat/test-nongg.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ test_that("cf_data", {
3838
cf_data(cbind(x,y),y=z)
3939
cf_data(cbind(x,y),z=z)
4040
cf_data(cbind(x,y,z))
41+
# Fit with other packages
42+
expect_error(cf_data(x,y,z, fit="locfit"), NA)
43+
expect_error(cf_data(x,y,z, fit="gam"), NA)
4144

4245
# Errors
4346
expect_error(cf_data(cbind(x,y,y),y=z))

0 commit comments

Comments
 (0)