Skip to content

AdhereR

0.8.3Package record

Adherence to Medications

1packages depend
9.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Computation of adherence to medications from Electronic Health care Data and visualization of individual medication histories and adherence patterns. The package implements a set of S3 classes and functions consistent with current adherence guidelines and definitions. It allows the computation of different measures of adherence (as defined in the literature, but also several original ones), their publication-quality plotting, the estimation of event duration and time to initiation, the interactive exploration of patient medication history and the real-time estimation of adherence given various parameter settings. It scales from very small datasets stored in flat CSV files to very large databases and from single-thread processing on mid-range consumer laptops to parallel processing on large heterogeneous computing clusters. It exposes a standardized interface allowing it to be used from other programming languages and platforms, such as Python.

Changes in 0.8.3

Bugfix

  • fixed GitHub issue #206 (reported by Sebastian Kinnberg Nielsen) where the dosage.change.means.new.treatment.episode parameter of compute.treatment.episodes() did not have any effect.

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 0.8.3
READMENoVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.8.3Citation fileYes · cites a publication
Help pages
43
Examples that run
65%17 run in a plain check · 9 never run
Exported functions with examples
67%
Documented parameters
85%
Return-value docs
100%
Help pages citing references
0%

Downloads

9.1K
CRAN downloads in the past year
Rank #4,309 · ~25/day · ~759/mo
Daily download trend is not available in this view yet.
72030 days
2K90 days
9.1K1 year
Compare downloads with other packages →
Also on229 r2u

Repository

34Stars
10Forks
37Open issues
0Open PRs
7Releases
610Commits
4Commit identities
rmedical-databasesadherence-to-medicationsmedication-historiesvisualisationelectronic-healthcare-datapythonsql
610 commits · Last activity 2026-06-22 · +3% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-06 · 302026-10-15 · 34
PracticesBeta

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

Checks run against github.com/ddediu/adherer on 2026-10-18.

Docs source (1)

GitHub Pages site last deployed 2019-06-14

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing AdhereR adds 9 packages (7 with compiled code, 6.9 MB of source tarballs). Heaviest: data.table 5.7 MB, lubridate 420 KB, cpp11 298 KB.

Depends (1)
R >= 3.0
Imports (8)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2017)
Author · added in 0.3
Author · added in 0.8.2
Listed in earlier versions (1)
Alexandra Dima
no longer listed · 0.1.0 to 0.8.1
Releases (14)

Pick two releases to compare their code metrics.

  • 0.8.3Latest
    record
    2026-06-22 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.8.2
    record
    2026-01-15 · 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
  • 0.8.1
    record
    2022-07-05 · diff ↗
  • 0.8.0
    record
    2022-06-23 · diff ↗ ·
    added 3 exports
    getEventsToEpisodesMapping, getEventsToSlidingWindowsMapping, getInnerEventInfo
  • R
    R 4.2.0 released · 2022-04-22
  • 0.7.0
    record
    2021-09-18 · diff ↗ ·
    added 3 exports
    getEventInfo, getMGs, subsetCMA
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.1
    record
    2020-05-12 · diff ↗
  • 0.6.0
    record
    2020-05-07 · diff ↗ ·
    added 7 exports
    CMA_polypharmacy, get.event.plotting.area, get.legend.plotting.area, get.plotted.events, get.plotted.partial.cmas, last.plot.get.info, map.event.coords.to.plot
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5
    record
    2019-06-11 · diff ↗ ·
    added 2 exports
    cover_special_periods, prune_event_durations
  • R
    R 3.6.0 released · 2019-04-26
Show 8 earlier eventsHide 8 earlier events
  • 0.4.1
    record
    2019-02-11 · diff ↗
  • 0.4
    record
    2019-02-10 · diff ↗
  • 0.3.1
    record
    2018-11-26 · diff ↗ ·
    added 1 export
    time_to_initiation
  • 0.3
    record
    2018-11-21 · diff ↗ ·
    added 1 export
    compute_event_durations
  • 0.2.0
    record
    2018-06-15 · diff ↗ ·
    added 2 exports
    callAdhereR, getCallerWrapperLocation
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.0
    record
    2017-04-27
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-04-27
Total releases
14 / 9 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.0
Bundled data
27 KB / 3 files
Download size
2.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("AdhereR")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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

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