Skip to content

splines2

0.5.4

Regression Spline Functions and Classes

45packages depend
184.5Kdownloads / year
92.5%test coverage
13/13checks pass

Overview

About
Maintained by Wenjie WangFirst published 2016-09-0624 releasesCRAN page ↗GitHub ↗

Constructs basis functions of B-splines, M-splines, I-splines, convex splines (C-splines), periodic splines, natural cubic splines, generalized Bernstein polynomials, their derivatives, and integrals (except C-splines) by closed-form recursive formulas. It also contains a C++ head-only library integrated with Rcpp. See Wang and Yan (2021) doi:10.6339/21-JDS1020 for details.

Install

Health

CRAN checks
13OK
Slowest check: 3.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.01
92.5%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-23
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 724 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
93%
Return-value docs
100%
References docs
42%

Downloads

184.5K
CRAN downloads in the past year
Rank #919 · ~506/day · ~15.4K/mo
Daily download trend is not available in this view yet.
13.7K30 days
49.4K90 days
184.5K1 year
Compare downloads with other packages →
Also on2.3K r2u16 autocran8.1K conda_forge99 c2d4u

Repository

Repository
45Stars
5Forks
0Open issues
0Open PRs
24Releases
572Commits
2Contributors
splinesrintegralderivativercpp
License GPL-3.0 · 572 commits · Last activity 2025-03-05 · 0% stars, 30d

Stars over time

2025-07-23 · 432026-07-07 · 45

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/wenjie2wang/splines2 on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.3
Imports (3)
statsgraphicsRcpp
LinkingTo (2)
Enhances (0)
none

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

24 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.4Latest
    2025-02-28 · current release · diff ↗
  • 0.5.3
    2024-07-08 · diff ↗
  • 0.5.2
    2024-05-09 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1
    2023-08-19 · diff ↗
  • 0.5.0
    2023-06-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.8
    2023-03-26 · diff ↗
  • 0.4.7
    2023-01-14 · diff ↗
  • 0.4.6
    2022-08-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.5
    2021-09-19 · diff ↗
  • 0.4.4
    2021-08-16 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 19 earlier events
  • 0.4.3
    2021-04-21 · diff ↗
  • 0.4.2
    2021-02-21 · diff ↗
  • 0.4.1
    2021-01-07 · diff ↗
  • 0.3.1
    2020-07-14 · diff ↗
  • 0.3.0
    2020-07-09 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.8
    2018-06-14 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.7
    2017-12-02 · diff ↗
  • 0.2.6
    2017-09-12 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2.5
    2017-02-10 · diff ↗
  • 0.2.4
    2017-01-11 · diff ↗
  • 0.2.3
    2016-12-10 · diff ↗
  • 0.2.2
    2016-11-05 · diff ↗
  • 0.2.1
    2016-10-08 · diff ↗
  • 0.1.0
    2016-09-06
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-09-06
Total releases
24 / 10 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.2.3
Download size
912 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("splines2")
Wang, W., & Yan, J. (2025). splines2: Regression Spline Functions and Classes (Version 0.5.4) [Computer software]. https://doi.org/10.32614/CRAN.package.splines2

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 splines2 version 0.5.4 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, 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