Skip to content

ccpsyc

0.2.8Package record

Methods for Cross-Cultural Psychology

0packages depend
3.4Kdownloads / year
48.2%test coverage
13/13flavors OK

Overview

About

Combines multiple functions that automate and simplify methods commonly employed in cross-cultural psychology, providing a unified analysis approach for measurement invariance testing, effect sizes for differential item functioning, factor congruence and multi-group reliability. Methods follow Fischer and Karl (2019) doi:10.3389/fpsyg.2019.01507 and Gunn, Grimm and Edwards (2020) doi:10.1080/10705511.2019.1689507.

Changes in 0.2.8

CRAN compliance

  • Removed the dependency on **ufs**, which is scheduled for archival on CRAN. mg_rel_table() no longer calls ufs::scaleStructure(); the internal consistency measures are now computed inside ccpsyc using **lavaan** and **psych**, both of which were already imported.
  • clearing_fa() no longer calls xlsx::read.xlsx(). The **xlsx** package was not declared in Imports, which caused an undeclared-dependency check failure. Excel key files are now read with **readxl** (moved to Suggests), which also removes the Java requirement. Supplying an .xlsx key file without readxl installed now raises an informative error.
  • calculate_dif_indices() is now actually exported and documented; it was tagged for export but missing from NAMESPACE.
Show all changes in 0.2.8Hide the rest of the changes in 0.2.8
  • Declared stats in Imports and dropped the unused rlang dependency.
  • Removed the redundant data/example.csv, which duplicated data/example.rda and defined the same example object.

Bug fixes

  • release_bonferroni() passed the rlang .data pronoun as a data argument to dplyr::filter(), causing the function to error.
  • splitgroup() used an invalid column selection that could not work as written; it now drops the grouping column and returns the remaining ones.
  • pancultural() signalled an error with print() rather than stop(), and coerced nfactors to character before passing it to psych::principal().
  • gamma_hat_scaled() no longer computes an unused quantity.

Changes in reported statistics

  • The glb column of mg_rel_table() now reports the maximum split-half reliability (Guttman's lambda 4) via psych::splitHalf(). The previous route, psych::glb(), calls psych::ICLUST(), which draws a diagram even when plot = FALSE and therefore fails whenever no graphics device has been initialised. Values are very close to, but not always identical to, those reported previously.
  • Alpha and omega confidence intervals are now computed analytically rather than through the previous wrapper. Alpha reproduces the normal-theory interval exactly; omega is estimated from a single-factor congeneric model with a delta-method interval. The seed argument of mg_rel_table() is retained for backward compatibility but is no longer used, and a conf.level argument has been added.
  • Measures that cannot be estimated for a group (fewer than three items, or a model that fails to converge) now return NA instead of erroring.

Documentation and tests

  • Added runnable examples for dMACS(), mg_rel_table() and calculate_dif_indices().
  • Internal helpers MNCI() and gamma_hat_scaled() are no longer given .Rd pages, which lacked \value sections.
  • Added tests for mg_rel_table() and added tolerances to the existing numerical tests so they are robust across BLAS implementations.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-06
  • ERROR13 OK, 1 ERROR2026-04-04
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.8
READMENoVignettesNoNEWSYes · 67% structured · mentions 0.2.8Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
16 (1 internal)
Examples that run
22%2 run in a plain check · 7 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
60%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.4K
CRAN downloads in the past year
Rank #10,076 · ~9/day · ~279/mo
Daily download trend is not available in this view yet.
26430 days
1K90 days
3.4K1 year
Compare downloads with other packages →
Also on278 r2u7 autocran

Repository

1Stars
1Forks
2Open issues
0Open PRs
0Releases
43Commits
1Commit identities
43 commits · Last activity 2025-08-20 · The default branch showed an older version (0.2.7) than CRAN on 2026-10-25
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
185
Median days to close, 50 most recently updated closed PRs
not measured
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/jo-karl/ccpsyc on 2026-10-25.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing ccpsyc adds 45 packages (26 with compiled code, 30 MB of source tarballs). Heaviest: stringi 11 MB, GPArotation 1.6 MB, RcppAlgos 1.6 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2.6 (2022)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.8Latest
    record
    2026-07-24 · current release · diff ↗ ·
    added 1 export
    calculate_dif_indices
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.6
    record
    2022-05-11
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-11
Total releases
2 / 4 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
21 KB / 1 file
Download size
51 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ccpsyc")
Karl, J. (2026). ccpsyc: Methods for Cross-Cultural Psychology (Version 0.2.8) [Computer software]. https://doi.org/10.32614/CRAN.package.ccpsyc

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ccpsyc version 0.2.8 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy