Skip to content

APCtools

1.0.8Package record

Routines for Descriptive and Model-Based APC Analysis

0packages depend
5.3Kdownloads / year
94.7%test coverage
13/13flavors OK

Overview

About

Age-Period-Cohort (APC) analyses are used to differentiate relevant drivers for long-term developments. The 'APCtools' package offers visualization techniques and general routines to simplify the workflow of an APC analysis. Sophisticated functions are available both for descriptive and regression model-based analyses. For the former, we use density (or ridgeline) matrices and (hexagonally binned) heatmaps as innovative visualization techniques building on the concept of Lexis diagrams. Model-based analyses build on the separation of the temporal dimensions based on generalized additive models, where a tensor product interaction surface (usually between age and period) is utilized to represent the third dimension (usually cohort) on its diagonal. Such tensor product surfaces can also be estimated while accounting for further covariates in the regression model. See Weigert et al. (2021) doi:10.1177/1354816620987198 for methodological details.

Changes in 1.0.8
  • updated some ggplot2 dependencies in the plot_density functions to prevent the use of now deprecated ggplot2 arguments

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.4 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
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-03-13
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-03-12
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0.8
READMEYes · 527 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.8Citation fileNoWebsiteYes · pkgdown
Help pages
29
Examples that run
100%12 run in a plain check
Exported functions with examples
100%
Documented parameters
90%
Return-value docs
100%
Help pages citing references
24%

Downloads

5.3K
CRAN downloads in the past year
Rank #6,344 · ~14/day · ~440/mo
Daily download trend is not available in this view yet.
50330 days
1.3K90 days
5.3K1 year
Compare downloads with other packages →
Also on218 r2u32 autocran

Repository

16Stars
5Forks
4Open issues
0Open PRs
1Releases
242Commits
7Commit identities
242 commits · Last activity 2025-06-18
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-09-11 · 162026-07-07 · 16
PracticesBeta

10 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/bauer-alex/apctools on 2026-10-11.

Continuous integration (4)
GitHub ActionsR CMD check workflowTravis CI (config file)AppVeyor

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

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-06-18 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing APCtools adds 74 packages (36 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2022)
Listed in earlier versions (1)
Pauline Hohenemser
no longer listed · 1.0.0 to 1.0.1
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.8Latest
    record
    2025-06-18 · current release · diff ↗
  • 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
  • 1.0.4
    record
    2023-01-14 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.1
    record
    2022-01-11 · diff ↗
  • 1.0.0
    record
    2022-01-05
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-01-05
Total releases
4 / 4 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-3 in 1.0.1
Minimum R
≥ 3.5
Bundled data
253 KB / 2 files
Download size
3.7 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("APCtools")
Bauer, A., Jalal, H., & Weigert, M. (2025). APCtools: Routines for Descriptive and Model-Based APC Analysis (Version 1.0.8) [Computer software]. https://doi.org/10.32614/CRAN.package.APCtools

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

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