Skip to content

petersenlab

1.2.0Package record

A Collection of R Functions by the Petersen Lab

0packages depend
7Kdownloads / year
0.2%test coverage
13/13flavors OK

Overview

About

A collection of R functions that are widely used by the Petersen Lab. Included are functions for various purposes, including evaluating the accuracy of judgments and predictions, performing scoring of assessments, generating correlation matrices, conversion of data between various types, data management, psychometric evaluation, extensions related to latent variable modeling, various plotting capabilities, and other miscellaneous useful functions. By making the package available, we hope to make our methods reproducible and replicable by others and to help others perform their data processing and analysis methods more easily and efficiently. The codebase is provided in Petersen (2025) doi:10.5281/zenodo.7602890 and on 'CRAN': <doi: 10.32614/CRAN.package.petersenlab>. The package is described in "Principles of Psychological Assessment: With Applied Examples in R" (Petersen, 2024, 2025a) doi:10.1201/9781003357421, doi:10.25820/work.007199, doi:10.5281/zenodo.6466589 and in "Fantasy Football Analytics: Statistics, Prediction, and Empiricism Using R" (Petersen, 2025b).

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.0
READMEYes · 234 wordsVignettesNoNEWSNoCitation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
79
Examples that run
84%65 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run · 5 hold no code
Exported functions with examples
97%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
0%

Downloads

7K
CRAN downloads in the past year
Rank #8,126 · ~19/day · ~586/mo
Daily download trend is not available in this view yet.
44130 days
1.1K90 days
7K1 year
Compare downloads with other packages →
Also on76 r2u6 autocran

Repository

1Stars
1Forks
0Open issues
0Open PRs
24Releases
266Commits
3Commit identities
psychometricsrr-packagedata-analysisdata-analysis-in-rdata-management
266 commits · Last activity 2026-10-09 · 0% stars, 30d · Default branch at 1.2.4, ahead of CRAN 1.2.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2023-03-16 · 12026-07-07 · 1
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/devpsylab/petersenlab on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow

pkgdown site last built 2026-10-09

Reproducibility and dev environment (1)
renv
Research and citation (1)
CITATION.cff
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing petersenlab adds 81 packages (44 with compiled code, 73 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (6)
Author, Maintainer since 1.0.0 (2024)
Contributor · added in 1.1.0
Contributor · added in 1.1.0
Contributor · added in 1.1.0
Contributor · added in 1.1.0
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0Latest
    record
    2025-08-18 · current release · diff ↗ ·
    added 3 exports
    adjust_sourdough_time, lm.beta.lmer, robust_load
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0
    record
    2025-02-03 · diff ↗ ·
    added 26 exports
    apa, cleanUpNames, d_negBinom, deriv_d_negBinom, deriv_logd_negBinom, error_variance_4PL, error_variance_NB, info_neg_binom_analytical, item_info_NB_analytical, item_info_NB_zero_analytical, kish_ess, log_gen_binom, my_loadings_sorter, posttestOdds, posttestProbability, reliability_4PL, reliability_NB, semPlotInteraction, test_info_4PL, test_info_NB, varsDifferentTypes, whdquantile, wisdomOfCrowd, wquantile, wquantile_generic, wthdquantile
  • 1.0.0
    record
    2024-04-30
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-04-30
Total releases
3 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
386 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("petersenlab")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/cran.package.petersenlab.

The repository also keeps a CITATION.cff.

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 petersenlab version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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