Skip to content

Commit

Permalink
uncomment class detection
Browse files Browse the repository at this point in the history
  • Loading branch information
zdk123 committed Oct 14, 2023
1 parent 8b55857 commit f3f1420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: SpiecEasi
Title: Sparse Inverse Covariance for Ecological Statistical Inference
Version: 2.0.0
Version: 2.0.1
Authors@R: c(
person("Zachary", "Kurtz", role = c("aut", "cre"), email="[email protected]"),
person("Christian", "Mueller", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion R/spiec-easi.R
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ multi.spiec.easi <- function(datalist, method='glasso', sel.criterion='stars',
spiec.easi.list <- function(data, ...) {
args <- list(...)
# TODO: move this check to to after types detection
# classes <- sapply(data, function(x) class(x)[1])
classes <- sapply(data, function(x) class(x)[1])
# if ((length(unique(classes)) != 1) & (args$cov.method!='latentcor'))
# message("input list contains data of mixed classes. 'latentcor' is the recommended `cov.method`")

Expand Down

0 comments on commit f3f1420

Please sign in to comment.