stephenslab / ebnm

R package to fit Empirical Bayes Normal Means model.
https://stephenslab.github.io/ebnm/
12 stars 9 forks source link

Weird error #108

Closed pcarbo closed 10 months ago

pcarbo commented 11 months ago

@willwerscheid I'm getting a weird error when using the NPMLE:

data(wOBA)
x <- wOBA$x
s <- wOBA$s
names(x) <- wOBA$Name
names(s) <- wOBA$Name
fit_npmle <- ebnm(x, s, prior_family = "npmle")
fit_npmle <- ebnm_add_sampler(fit_npmle)
# Error in data.frame(df, row.names = names(x)) :
# row names supplied are of the wrong length
packageVersion("ebnm")
[1] ‘1.0.54’

Any ideas?

willwerscheid commented 10 months ago

fixed with latest update (1.0.55)