Manual Tours, Manual Control of Dynamic Projections of Numeric Multivariate Data
Overview
Data visualization tours animates linear projection of multivariate data as its basis (ie. orientation) changes. The 'spinifex' packages generates paths for manual tours by manipulating the contribution of a single variable at a time Cook & Buja (1997) doi:10.1080/10618600.1997.10474754. Other types of tours, such as grand (random walk) and guided (optimizing some objective function) are available in the 'tourr' package Wickham et al. doi:10.18637/jss.v040.i02. 'spinifex' builds on 'tourr' and can render tours with 'gganimate' and 'plotly' graphics, and allows for exporting as an .html widget and as an .gif, respectively. This work is fully discussed in Spyrison & Cook (2020) doi:10.32614/RJ-2020-027.
- Added a function
ide, as a utility for estimating intrinsic data dimensionality - ggplot2 v4.0.0 pushed breaking changes as they transition to S7 objects; changed tests from
expect_equal(class(x), c("gg", "ggplot"))toexpect_true(inherits(x, c("ggplot", "ggplot2::ggplot")))according to https://github.com/tidyverse/ggplot2/issues/6498 - Trivial adjustment to
animate_plotlybacking out of experimental dev to support plotly subplots, especially for use bycheem::global_view - Trivial adjustment
plot_pca_screetest - Tests now use
spinifex::save_historyinstead of verbosetourr::save_history
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-09
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-14
- ERROR11 OK, 2 ERROR2026-05-11
- OK14 OK2026-03-10
Documentation
- Help pages
- 63 (2 internal)includes a package overview page
- Examples that run
- 93%54 run in a plain check · 1 never run · 3 hold no code
- Exported functions with examples
- 96%
- Documented parameters
- 87%
- Return-value docs
- 29%
- Help pages citing references
- 5%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 53
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/nspyrison/spinifex on 2026-10-21.
Show all practicesHide 1 practice
Dependencies
Installing spinifex adds 142 packages (90 with compiled code, 134 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.10Latest
- 0.3.92025-08-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.3.8
- RR 4.4.0 released · 2024-04-24
- 0.3.7.02024-01-29 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.62022-03-31 · diff ↗
- 0.3.52022-03-09 · diff ↗
- 0.3.4
- 0.3.3
- 0.3.22022-01-05 · diff ↗ ·
removed 1 export
as_history_arrayadded 9 exports
append_fixed_y, draw_basis, facet_wrap_tour, proto_density2d, proto_frame_cor2, proto_hline0, proto_vline0, scale_colour_discrete, scale_fill_discrete - 0.3.12021-09-28 · diff ↗ ·
added 22 exports
.init4proto, .set_last_ggtour, animate_gganimate, animate_plotly, filmstrip, ggtour, last_ggtour, map_absolute, map_relative, proto_basis, proto_basis1d, proto_default, proto_default1d, proto_density, proto_hex, proto_highlight, proto_highlight1d, proto_origin, proto_origin1d, proto_point, proto_text, save_history - RR 4.1.0 released · 2021-05-18
Show 11 earlier eventsHide 11 earlier events
- 0.2.82021-04-18 · diff ↗ ·
removed 3 exports
manip_var_guided, manip_var_pca, scale_10added 7 exports
as_history_array, basis_half_circle, basis_odp, basis_olda, basis_onpp, manip_var_of, scale_01 - 0.2.7
- 0.2.62020-11-09 · diff ↗ ·
removed 6 exports
col_of, oblique_basis, oblique_frame, pch_of, set_axes_position, view_basisadded 10 exports
basis_guided, basis_pca, manip_var_guided, manip_var_pca, render_plotly, scale_10, scale_axes, scale_sd, theme_spinifex, view_frame - 0.2.5
- unarchivedReturned to CRAN2020-06-18
- 0.2.02020-06-18 · diff ↗ ·
added 6 exports
is_orthonormal, oblique_basis, oblique_frame, pan_zoom, render_, run_app - archivedRemoved from CRAN2020-06-15check problems were not corrected in time
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.1.02019-04-09
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-09
- Total releases
- 16 / 7 yrs
- License
- MIT + file LICENSE OSI · relicensed from CC BY-NC-SA 4.0 in 0.3.5
- Minimum R
- ≥ 3.5.0
- Bundled data
- 39 KB / 6 files
- Download size
- 2.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("spinifex")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.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.