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
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
^Meta$
^\.github$
^rebuild_vignettes.R$
^\.lintr$
^\.lintr$
^\.devcontainer$
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"image": "ghcr.io/rocker-org/r-ver:4.6",
"features": {
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"packages": "pkgdown, testthat, knitr, rmarkdown, visreg, lm.beta, ggplot2, lavaan, manymome, rlang"
},
// "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {
// "installChromium": true
// },
// "ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
// "packages": "chromium"
// },
//"ghcr.io/rocker-org/devcontainer-features/pandoc:latest": {
//"version": "2.17"
//},
//"ghcr.io/rocker-org/devcontainer-features/r-dependent-packages:latest": {},
},
}
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: stdmod
Title: Standardized Moderation Effect and Its Confidence Interval
Version: 0.2.12
Version: 0.2.13
Authors@R:
c(person(given = "Shu Fai",
family = "Cheung",
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# stdmod 0.2.13

## Miscellaneous

- Fixed a CRAN check issue with R-devel
(2026-05-03 r89994 ucrt).
(0.2.13)

# stdmod 0.2.12

## Miscellaneous
Expand Down
4 changes: 2 additions & 2 deletions R/condeff.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ cond_effect <- function(output,
w_method <- match.arg(w_method)
x0 <- deparse(substitute(x))
if (inherits(tryCatch(x00 <- as.character(x), error = function(e) e),
"simpleError")) {
"error")) {
x <- x0
} else {
x <- x00
}
w0 <- deparse(substitute(w))
if (inherits(tryCatch(w00 <- as.character(w), error = function(e) e),
"simpleError")) {
"error")) {
w <- w0
} else {
w <- w00
Expand Down
4 changes: 2 additions & 2 deletions R/condeff_boot.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ cond_effect_boot <- function(output,
do_boot = TRUE) {
x0 <- deparse(substitute(x))
if (inherits(tryCatch(x00 <- as.character(x), error = function(e) e),
"simpleError")) {
"error")) {
x <- x0
} else {
x <- x00
}
w0 <- deparse(substitute(w))
if (inherits(tryCatch(w00 <- as.character(w), error = function(e) e),
"simpleError")) {
"error")) {
w <- w0
} else {
w <- w00
Expand Down
4 changes: 2 additions & 2 deletions R/plotmod.R
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,14 @@ plotmod <- function(output, x, w,
graph_type <- match.arg(graph_type)
x0 <- deparse(substitute(x))
if (inherits(tryCatch(x00 <- as.character(x), error = function(e) e),
"simpleError")) {
"error")) {
x <- x0
} else {
x <- x00
}
w0 <- deparse(substitute(w))
if (inherits(tryCatch(w00 <- as.character(w), error = function(e) e),
"simpleError")) {
"error")) {
w <- w0
} else {
w <- w00
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# stdmod: Standardized Moderation <img src="man/figures/logo.png" align="right" height="150" />

(Version 0.2.12, updated on 2026-01-07, [release history](https://sfcheung.github.io/stdmod/news/index.html))
(Version 0.2.13, updated on 2026-05-04, [release history](https://sfcheung.github.io/stdmod/news/index.html))

(Important changes since 0.2.0.0: Bootstrap confidence intervals and
variance-covariance matrix of estimates are the defaults of `confint()`
Expand Down
Loading