Skip to content

Create Visual Predictive Checks

3packages dependsuggested by 2
17.6Kdownloads / year
68.7%test coverage
13/13flavors OK

Overview

About

Visual predictive checks are a commonly used diagnostic plot in pharmacometrics, showing how certain statistics (percentiles) for observed data compare to those same statistics for data simulated from a model. The package can generate VPCs for continuous, categorical, censored, and (repeated) time-to-event data.

Changes in 1.2.4
  • replaced defunct dplyr functions (group_by_(), arrange_(), do()) with modern equivalents (group_by(), arrange(), slice()) using .data pronoun
  • fixed Rd documentation: changed \itemize with incorrect \item{} syntax to \describe with proper \item{name}{description} format in new_vpc_theme()
  • removed broken \link{sim_data} cross-references from documentation

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.4
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 1.2.4Citation fileNo
Help pages
46 (2 internal)includes a package overview page
Examples that run
79%11 run in a plain check · 3 never run
Exported functions with examples
58%
Documented parameters
96%
Return-value docs
53%
Help pages citing references
0%

Downloads

17.6K
CRAN downloads in the past year
Rank #3,278 · ~48/day · ~1.5K/mo
Daily download trend is not available in this view yet.
1.2K30 days
3.5K90 days
17.6K1 year
Compare downloads with other packages →
Also on286 r2u11 autocran19.1K conda_forge115 c2d4u

Repository

37Stars
22Forks
14Open issues
0Open PRs
3Releases
533Commits
16Commit identities
533 commits · Last activity 2026-02-28 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
89%
Median days to close, 50 most recently updated closed issues
86
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2024-02-10 · 352026-07-15 · 37
PracticesBeta

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

Checks run against github.com/ronkeizer/vpc 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 (2)

GitHub Pages site last deployed 2026-02-28 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-02-10
    Named in .Rbuildignore: .claude
    Commits: at least 4 crediting it in the message
Models named in its commits
  • Claude Opus 4.64 commits · Feb 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing vpc adds 42 packages (23 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.

Depends (1)
R >= 3.1.0
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
3direct
6indirect
Imports 3
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2017)
Author · added in 1.2.4
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.4Latest
    record
    2026-02-17 · current release · diff ↗ ·
    removed 2 exports
    show_default_tte, sim_data
    added 6 exports
    as_vpcdb, ggplot.vpcdb_categorical, ggplot.vpcdb_censored, ggplot.vpcdb_continuous, ggplot.vpcdb_time_to_event, plot_vpc_helper
  • 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
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.2
    record
    2021-01-11 · diff ↗
  • 1.2.1
    record
    2020-06-02 · diff ↗
  • 1.2.0
    record
    2020-05-07 · diff ↗ ·
    added 2 exports
    auto_bin, quantile_cens
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.0
    record
    2018-08-27 · diff ↗ ·
    added 2 exports
    create_vpc_theme, vpc_vpc
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.1
    record
    2018-01-23 · diff ↗
  • 1.0.0
    record
    2017-09-22
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-09-22
Total releases
7 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.1.0
Bundled data
586 KB / 3 files
Download size
621 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("vpc")
Keizer, R., & Denney, B. (2026). vpc: Create Visual Predictive Checks (Version 1.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.vpc

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 vpc version 1.2.4 [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