Skip to content

Commit

Permalink
fix msAbund tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doserjef committed Oct 13, 2023
1 parent eceface commit 246e117
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 99 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-msAbund.R
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ y <- dat$y
X <- dat$X
coords <- dat$coords

covs <- list(cov.1 = X[, 1, 2],
cov.2 = X[, 1, 3])
covs <- list(cov.1 = apply(X[, , 2], 1, mean, na.rm = TRUE),
cov.2 = apply(X[, , 3], 1, mean, na.rm = TRUE))

data.list <- list(y = y,
covs = covs)
Expand Down
Loading

0 comments on commit 246e117

Please sign in to comment.