Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: modelbpp
Title: Model BIC Posterior Probability
Version: 0.1.5
Version: 0.1.5.2
Authors@R:
c(person(given = "Shu Fai",
family = "Cheung",
Expand Down
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# modelbpp 0.1.5.2

## Miscellaneous

- The default of
`more_fit_measures` of the print
method of `model_set`-class object
was changed to `c("cfi", "rmsea", "srmr)`.
(0.1.5.1)

- Changed the vignettes to precomputed
Rmarkdown files. (0.1.5.2)

# modelbpp 0.1.5

## New Features
Expand Down
4 changes: 2 additions & 2 deletions R/print.model_set.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#' @param more_fit_measures Character
#' vector. To be passed to
#' [lavaan::fitMeasures()]. Default
#' is `c("cfi", "rmsea")`. Set it to
#' is `c("cfi", "rmsea", "srmr")`. Set it to
#' `NULL` to disable printing additional
#' fit measures.
#'
Expand Down Expand Up @@ -107,7 +107,7 @@ print.model_set <- function(x,
max_models = 20,
bpp_target = NULL,
target_name = "original",
more_fit_measures = c("cfi", "rmsea"),
more_fit_measures = c("cfi", "rmsea", "srmr"),
fit_measures_digits = 3,
short_names = FALSE,
cumulative_bpp = FALSE,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# modelbpp: Model BIC Posterior Probability <img src="man/figures/logo.png" align="right" />

(Version 0.1.5 updated on 2024-09-16, [release history](https://sfcheung.github.io/modelbpp/news/index.html))
(Version 0.1.5.2 updated on 2025-08-20, [release history](https://sfcheung.github.io/modelbpp/news/index.html))

This package is for assessing model uncertainty in structural
equation modeling (SEM) by the BIC posterior
Expand Down
4 changes: 2 additions & 2 deletions man/print.model_set.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions rebuild_vignettes.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Adapted from https://www.kloppenborg.ca/2021/06/long-running-vignettes/

base_dir <- getwd()

setwd("vignettes/")
knitr::knit("modelbpp.Rmd.original", output = "modelbpp.Rmd")

setwd(base_dir)

Binary file modified vignettes/graph1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/graph1_df2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading