Skip to content

princurve

2.1.6

Fit a Principal Curve in Arbitrary Dimension

9packages depend
89.1Kdownloads / year
100.0%test coverage
11/13flavors OK

Overview

About

Fitting a principal curve to a data matrix in arbitrary dimensions. Hastie and Stuetzle (1989) doi:10.2307/2289936.

Changes in 2.1.6
  • BUG FIX project_to_curve(): Return error message when x or s contain insufficient rows.
  • BUG FIX unit tests: Switch from svg() to pdf() as support for svg() might be optional.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Robrecht Cannoodt <rcannood@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Author field differs from that derived from Authors@R
  Author:    ‘Trevor Hastie [aut], Andreas Weingessel [aut], Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>), Henrik Bengtsson [ctb] (HenrikBengtsson), Robrecht Cannoodt [aut, cre] (<https://orcid.org/0000-0003-3641-729X>, rcannood)’
  Authors@R: ‘Trevor Hastie [aut], Andreas Weingessel [aut], Kurt Hornik [aut] (ORCID: <https://orcid.org/0000-0003-4198-9911>), Henrik Bengtsson [ctb] (github: HenrikBengtsson), Robrecht Cannoodt [aut, cre] (ORCID: <https://orcid.org/0000-0003-3641-729X>, github: rcannood)’

CRAN check page ↗

Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-10-17
  • WARNING10 OK, 2 NOTE, 1 WARNING2026-10-01
  • NOTE11 OK, 2 NOTE2026-08-21
  • WARNING10 OK, 2 NOTE, 1 WARNING2026-08-17
  • NOTE11 OK, 2 NOTE2026-07-08
Show 6 earlier changesHide 6 earlier changes
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-07-05
  • NOTE11 OK, 2 NOTE2026-05-19
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-05-18
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1.6
READMEYes · 207 wordsVignettesNoNEWSYes · 100% structured · mentions 2.1.6Citation fileYes · cites a publication
Help pages
6includes a package overview page
Examples that run
67%2 run in a plain check · 1 never run
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
67%
Help pages citing references
33%

Downloads

89.1K
CRAN downloads in the past year
Rank #975 · ~244/day · ~7.4K/mo
Daily download trend is not available in this view yet.
20.3K30 days
41.2K90 days
89.1K1 year
Compare downloads with other packages →
Also on1.9K r2u4 autocran13K conda_forge158 c2d4u

Repository

45Stars
6Forks
1Open issues
0Open PRs
9Releases
303Commits
2Commit identities
303 commits · Last activity 2025-01-16 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-09 · 432026-07-07 · 45
PracticesBeta

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

Checks run against github.com/rcannood/princurve 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 2025-01-16 · The repository has a site deploy workflow

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing princurve adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 3.0
Imports (4)
statsgraphicsgrDevicesRcpp
LinkingTo (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
9direct
7indirect
Imports 9
Depends, Imports or LinkingTo, most downloaded first

People & History

People (5)
Author, Maintainer since 2.0.2 (2018) · added in 2.0.2
rcannood
Author · added in 2.0.2
Author · added in 2.0.2
Author · added in 2.0.2
Contributor · added in 2.0.4
HenrikBengtsson

Previously maintained by Andreas Weingessel (1.1-0 to 1.1-12).

Listed in earlier versions (1)
Trevor Hastie R port by Andreas Weingessel
no longer listed · 1.0-8 to 1.1-12
Releases (24)

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
  • 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
  • 2.1.6Latest
    record
    2021-01-18 · current release · diff ↗
  • 2.1.5
    record
    2020-08-25 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.1.4
    record
    2019-05-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.1.3
    record
    2018-10-08 · diff ↗
  • 2.1.2.1
    record
    2018-08-02 · diff ↗
  • 2.1.2
    record
    2018-07-24 · diff ↗
  • 2.1.1
    record
    2018-07-23 · diff ↗
  • 2.1.0
    record
    2018-07-14 · diff ↗
Show 43 earlier eventsHide 43 earlier events
  • 2.0.4
    record
    2018-07-09 · diff ↗
  • 2.0.3
    record
    2018-07-04 · diff ↗
  • 2.0.2
    record
    2018-06-12 · diff ↗ ·
    added 3 exports
    principal_curve, project_to_curve, whiskers
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 1.1-12
    record
    2013-04-25 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.1-11
    record
    2011-09-18 · diff ↗ ·
    added 2 exports
    principal.curve, get.lam
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • 1.1-10
    record
    2009-10-04 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • 1.1-9
    record
    2007-07-13 · diff ↗
  • R
    R 2.5.0 released · 2007-04-24
  • 1.1-8
    record
    2006-10-04 · diff ↗
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • R
    R 2.2.0 released · 2005-10-06
  • R
    R 2.1.0 released · 2005-04-18
  • 1.1-7
    record
    2004-11-04 · diff ↗
  • R
    R 2.0.0 released · 2004-10-04
  • R
    R 1.9.0 released · 2004-04-12
  • 1.1-6
    record
    2004-01-31 · diff ↗
  • R
    R 1.8.0 released · 2003-10-08
  • R
    R 1.7.0 released · 2003-04-16
  • R
    R 1.6.0 released · 2002-10-01
  • 1.1-5
    record
    2002-07-03 · diff ↗
  • 1.1-4
    record
    2002-07-02 · diff ↗
  • R
    R 1.5.0 released · 2002-04-29
  • 1.1-3
    record
    2001-12-14 · diff ↗
  • 1.1-2
    record
    2001-06-11 · diff ↗
  • 1.1-0
    record
    2001-05-25 · diff ↗
  • 1.0-8
    record
    1999-04-26

Package metadata

First published
1999-04-26
Total releases
24 / 27 yrs
License
GPL-2 OSI
Minimum R
≥ 3.0
Download size
51 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("princurve")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.2307/2289936, 10.5281/zenodo.3351282.

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

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