Skip to content

tweenr

2.0.3Package record

Interpolate Data for Smooth Animations

3packages dependsuggested by 2
1.2Mdownloads / year
31.9%test coverage
13/13flavors OK

Overview

About

In order to create smooth animation between states of data, tweening is necessary. This package provides a range of functions for creating tweened data that can be used as basis for animation. Furthermore it adds a number of vectorized interpolaters for common R data types such as numeric, date and colour.

Changes in 2.0.3
  • Fix coercion bug from the switch to vctrs
  • At tween_at_t() for interpolating a full data frame at multiple locations

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 2.0.3
READMEYes · 389 wordsVignettesNoNEWSYes · 100% structured · mentions 2.0.3Citation fileNo
Help pages
27 (8 internal)includes a package overview page
Examples that run
100%17 run in a plain check
Exported functions with examples
65%
Documented parameters
70%
Return-value docs
88%
Help pages citing references
0%

Downloads

1.2M
CRAN downloads in the past year
Rank #346 · ~3.4K/day · ~103K/mo
Daily download trend is not available in this view yet.
89K30 days
278.8K90 days
1.2M1 year
Compare downloads with other packages →
Also on25.6K r2u203 autocran133.8K conda_forge917 c2d4u

Repository

400Stars
41Forks
3Open issues
2Open PRs
5Releases
151Commits
11Commit identities
rstatsanimationplottingtransitiontweening
151 commits · Last activity 2024-02-26 · 0% stars, 30d · Default branch at 2.0.3.9000, ahead of CRAN 2.0.3 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
85%
Median days to close, 50 most recently updated closed issues
26
Median days to close, 50 most recently updated closed PRs
28

Stars over time

2025-08-28 · 3992026-08-20 · 400
PracticesBeta

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

Checks run against github.com/thomasp85/tweenr 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 (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2024-02-26 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdrevdep/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing tweenr adds 8 packages (6 with compiled code, 4.3 MB of source tarballs). Heaviest: farver 1.2 MB, vctrs 1.0 MB, rlang 766 KB.

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

People & History

People (1)
Author, Maintainer since 0.1.2 (2016)
Releases (11)

Pick two releases to compare their code metrics.

  • 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
  • 2.0.3Latest
    record
    2024-02-26 · current release · diff ↗ ·
    added 1 export
    tween_at_t
  • R
    R 4.3.0 released · 2023-04-21
  • 2.0.2
    record
    2022-09-06 · diff ↗
  • 2.0.1
    record
    2022-08-22 · diff ↗
  • 2.0.0
    record
    2022-08-17 · diff ↗ ·
    added 29 exports
    col_types<-, ease_type<-, frame_times<-, gen_data<-, generator_settings<-, keyframes<-, PHASE_LEVELS, add_keyframe, add_pause, col_classes, col_types, data_frame_to_gen, ease_type, frame_times, gen_along, gen_at, gen_components, gen_data, gen_events, gen_keyframe, gen_to_data_frame, generator_settings, get_frame, get_raw_frames, interpolate_custom_at, is_generator, keyframes, prepare_keyframes, vec_tween_class
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.2
    record
    2021-03-23 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.1
    record
    2018-12-14 · diff ↗
  • 1.0.0
    record
    2018-09-27 · diff ↗ ·
    added 17 exports
    %>%, .complete_states, .get_first_frame, .get_last_frame, .has_frames, .max_id, .with_later_frames, .with_prior_frames, close_state, keep_state, open_state, tween_along, tween_at, tween_components, tween_events, tween_fill, tween_state
  • R
    R 3.5.0 released · 2018-04-23
Show 7 earlier eventsHide 7 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.5
    record
    2016-10-10 · diff ↗
  • 0.1.4
    record
    2016-08-30 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.1.3
    record
    2016-03-29 · diff ↗
  • 0.1.2
    record
    2016-02-11
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-02-11
Total releases
11 / 10 yrs
License
MIT + file LICENSE OSI · relicensed from GPL (>= 2) in 1.0.0
Minimum R
≥ 3.2.0
Download size
571 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tweenr")
Pedersen, T. L. (2024). tweenr: Interpolate Data for Smooth Animations (Version 2.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.tweenr

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 tweenr version 2.0.3 [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