Skip to content

Commit 312bbf7

Browse files
committed
final commit for 0.3-11
1 parent 687cbdb commit 312bbf7

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: blavaan
22
Title: Bayesian Latent Variable Analysis
3-
Version: 0.3-11.688
3+
Version: 0.3-11
44
Authors@R: c(person(given = "Edgar", family = "Merkle",
55
role = c("aut", "cre"),
66
email = "[email protected]",
@@ -30,9 +30,9 @@ Description: Fit a variety of Bayesian latent variable models, including confirm
3030
factor analysis, structural equation models, and latent growth curve models.
3131
License: GPL (>= 3)
3232
ByteCompile: true
33-
Depends: R(>= 3.5.0), methods, lavaan(>= 0.6-5), Rcpp(>= 0.12.15)
33+
Depends: R(>= 3.5.0), methods, lavaan(>= 0.6-5), Rcpp(>= 0.12.15), RcppParallel (>= 5.0.1)
3434
Imports: stats, utils, graphics, MCMCpack, coda, mnormt, nonnest2(>= 0.5-5), loo(>= 2.0), rstan(>= 2.19.2), rstantools(>= 1.5.0), bayesplot, future.apply
35-
LinkingTo: StanHeaders (>= 2.18.1), rstan (>= 2.19.2), BH (>= 1.69.0), Rcpp (>= 0.12.15), RcppEigen (>= 0.3.3.4.0)
35+
LinkingTo: StanHeaders (>= 2.18.1), rstan (>= 2.19.2), BH (>= 1.69.0), Rcpp (>= 0.12.15), RcppEigen (>= 0.3.3.4.0), RcppParallel (>= 5.0.1)
3636
Suggests: runjags(>= 2.0.4-2), modeest(>= 2.3.3), rjags, semTools, testthat(>= 2.0.0)
3737
SystemRequirements: GNU make
3838
NeedsCompilation: yes

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ importFrom("bayesplot",
8383

8484
import(Rcpp)
8585

86+
importFrom("RcppParallel", "CxxFlags", "RcppParallelLibs")
87+
8688
import(rstantools)
8789

8890
export("blavaan", "bcfa", "bsem", "bgrowth", "dpriors", "BF", "blavCompare",

NEWS

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
Changes in Version 0.3-11
2+
o vector values of wiggle.sd are allowed for different priors on approximate
3+
equality constraints
4+
5+
o logical argument "prisamp" added, for sampling from a model's prior
6+
7+
o for target="stan", lkj prior is used for unrestricted lv correlation matrices
8+
9+
o default priors for conditional approaches (jags and stanclassic) revert to
10+
being placed on precisions (as opposed to sd), for improvement in sampling efficiency
11+
12+
o bug fixes for wiggle argument, stan plot labels,
13+
stanclassic and jags equality constraints, ppmc()
14+
115
Changes in Version 0.3-10
216
o save.lvs=TRUE works for missing data under target="stan"
317

src/stan_files/stanmarg.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ model { // N.B.: things declared in the model block do not get saved in the outp
803803
generated quantities { // these matrices are saved in the output but do not figure into the likelihood
804804
// see https://books.google.com/books?id=9AC-s50RjacC&lpg=PP1&dq=LISREL&pg=PA34#v=onepage&q=LISREL&f=false
805805

806-
matrix[Ntot, save_lvs ? w9use + w9no : 0] eta;
806+
// matrix[Ntot, save_lvs ? w9use + w9no : 0] eta;
807807
// matrix[Ntot, has_data ? m : 0] eta;
808808
// matrix[Ntot, has_data ? n : 0] xi;
809809

0 commit comments

Comments
 (0)