Skip to content

Commit

Permalink
Further attempt at fixing CRAN test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJanvanRossum committed Sep 16, 2024
1 parent 0d035e5 commit c406333
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified inst/tinytest/mod_dcca
Binary file not shown.
Binary file modified inst/tinytest/scores_dcca
Binary file not shown.
4 changes: 3 additions & 1 deletion inst/tinytest/test_dcca.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ expect_message(mod_dcca3 <- dc_CA(formulaEnv = ~ A1 + Moist + Mag + Use + Manure

expect_warning(scores(mod_dcca3), "collinearity detected in SNC-model")
expect_inherits(mod_dcca, "dcca")
expect_equal_to_reference(mod_dcca, "mod_dcca")

expect_warning(scores_dcca <- scores(mod_dcca),
"collinearity detected")
Expand Down Expand Up @@ -77,3 +76,6 @@ expect_equal(names(dcca_print),
"eigenvalues", "c_traits_normed0", "inertia", "site_axes",
"species_axes", "c_env_normed", "c_traits_normed"))

mod_dcca$RDAonEnv$CCA <- NULL
expect_equal_to_reference(mod_dcca, "mod_dcca")

0 comments on commit c406333

Please sign in to comment.