Skip to content

bspline

2.5.1

B-Spline Interpolation and Regression

1packages depend
7.3Kdownloads / year
82.2%test coverage
13/13checks pass

Overview

About
Maintained by Serguei SokolFirst published 2022-03-1410 releasesCRAN page ↗GitHub ↗

Build and use B-splines for interpolation and regression. In case of regression, equality constraints as well as monotonicity and/or positivity of B-spline weights can be imposed. Moreover, knot positions can be on regular grid or be part of optimized parameters too (in addition to the spline weights). For this end, 'bspline' is able to calculate Jacobian of basis vectors as function of knot positions. User is provided with functions calculating spline values at arbitrary points. These functions can be differentiated and integrated to obtain B-splines calculating derivatives/integrals at any point. B-splines of this package can simultaneously operate on a series of curves sharing the same set of knots. 'bspline' is written with concern about computing performance that's why the basis and Jacobian calculation is implemented in C++. The rest is implemented in R but without notable impact on computing speed.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.02
82.2%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

7.3K
CRAN downloads in the past year
Rank #10,372 · ~20/day · ~604/mo
Daily download trend is not available in this view yet.
28930 days
1K90 days
7.3K1 year
Compare downloads with other packages →
Also on555 r2u46 autocran

Repository

Repository
4Stars
0Forks
0Open issues
0Open PRs
0Releases
15Commits
2Contributors
15 commits · Last activity 2026-02-03 · +33.3% stars, 30d

Stars over time

2022-03-30 · 22026-07-07 · 4

Repository practices

Upstream repositoryBeta

Checks run against github.com/mathscell/bspline on 2026-07-26.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2.5.1Latest
    2026-01-27 · current release · diff ↗
  • 2.5.0
    2025-05-16 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.4.0
    2025-03-12 · diff ↗
  • 2.3.0
    2025-02-05 · diff ↗
  • 2.2.2
    2024-07-02 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.2
    2023-05-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1
    2022-09-29 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.1
    2022-04-20 · diff ↗
  • 1.0.2
    2022-03-18 · diff ↗
  • 1.0.1
    2022-03-14
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-14
Total releases
10 / 4 yrs
License
GPL-2 OSI
Download size
27 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →