-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rejuvenation #625
Rejuvenation #625
Conversation
@IndrajeetPatil Here are some issues with not available packages, do you know how to fix this? |
Should be fixed for runs from here on. |
…/bayestestR into fix_describe_posterior
…/bayestestR into fix_describe_posterior
This comment was marked as resolved.
This comment was marked as resolved.
Hm, there were actually quite some bugs in package functions which were not captured by the CI tests? @mattansb Here's an example that seems to have worked in the past (at least, we had a test for it), but now no longer works: library(bayestestR)
library(blavaan)
#> Loading required package: Rcpp
#> This is blavaan 0.5-1
#> On multicore systems, we suggest use of future::plan("multicore") or
#> future::plan("multisession") for faster post-MCMC computations.
data("PoliticalDemocracy", package = "lavaan")
model <- "
# latent variable definitions
dem60 =~ y1 + a*y2
dem65 =~ y5 + a*y6
# regressions
dem65 ~ dem60
# residual correlations
y1 ~~ y5
"
model2 <- "
# latent variable definitions
dem60 =~ y1 + a*y2
dem65 =~ y5 + a*y6
# regressions
dem65 ~ 0*dem60
# residual correlations
y1 ~~ 0*y5
"
suppressWarnings(capture.output({
bfit <- blavaan::bsem(model,
data = PoliticalDemocracy,
n.chains = 1, burnin = 50, sample = 100
)
bfit2 <- blavaan::bsem(model2,
data = PoliticalDemocracy,
n.chains = 1, burnin = 50, sample = 100
)
}))
bayesfactor_models(bfit, bfit2)
#> Warning: Bayes factors might not be precise.
#> For precise Bayes factors, sampling at least 40,000 posterior samples is
#> recommended.
#> Error in apply(diffs, 2, sum): dim(X) must have a positive length Created on 2023-10-02 with reprex v2.0.2 |
Codecov Report
@@ Coverage Diff @@
## main #625 +/- ##
==========================================
+ Coverage 50.87% 53.24% +2.36%
==========================================
Files 65 65
Lines 5185 5287 +102
==========================================
+ Hits 2638 2815 +177
+ Misses 2547 2472 -75
|
Thanks, @strengejacke! |
We should schedule a new release-round... Something like easystats -> see -> insight -> bayestestR -> ... (parameters? performance?) |
what about report, @rempsyc? datawizard, parameters and performance are quite recent, so probably no update needed shortly. |
Shouldn't easystats be last to have new versions reqs? |
Yes, makes sense. |
It's been almost 28 weeks for report, I'm happy to resubmit to CRAN. Seems like the other easystats packages devel versions I was relying on (insight, effectsize) were already pushed to CRAN, so technically I could do it next weekend? |
I suggest adding all GitHub version to the REMOTES field, so you can test report on the latest devel versions first - otherwise, we may find revdep issues when we submit packages after report was accepted on CRAN. |
Oh good idea, thanks! |
Fixes #525
Fixing workflows, possibly unresolved issues from #618?
Related to:
#' @examplesIf
roxygen directive overif()
in the docs easystats#318