{
  "_id": "6acdaf98a14063b82c3ac76b",
  "Package": "splines2",
  "Title": "Regression Spline Functions and Classes",
  "Version": "0.5.5.9000",
  "Authors@R": "c(\nperson(given = \"Wenjie\", family = \"Wang\",\nemail = \"wang@wwenjie.org\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0363-3180\")),\nperson(given = \"Jun\", family = \"Yan\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-4401-7296\"))\n)",
  "Description": "Constructs basis functions of B-splines, M-splines,\nI-splines, convex splines (C-splines), periodic splines,\nnatural cubic splines, generalized Bernstein polynomials, their\nderivatives, and integrals (except C-splines) by closed-form\nrecursive formulas. It also contains a C++ head-only library\nintegrated with Rcpp. See Wang and Yan (2021)\n<doi:10.6339/21-JDS1020> for details.",
  "VignetteBuilder": "knitr",
  "License": "GPL (>= 3)",
  "URL": "https://wwenjie.org/splines2,\nhttps://github.com/wenjie2wang/splines2",
  "BugReports": "https://github.com/wenjie2wang/splines2/issues",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://wenjie2wang.r-universe.dev",
  "Date/Publication": "2026-10-13 01:30:48 UTC",
  "RemoteUrl": "https://github.com/wenjie2wang/splines2",
  "RemoteRef": "HEAD",
  "RemoteSha": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-13 03:56:56 UTC",
    "User": "root"
  },
  "Author": "Wenjie Wang [aut, cre] (ORCID: <https://orcid.org/0000-0003-0363-3180>),\nJun Yan [aut] (ORCID: <https://orcid.org/0000-0003-4401-7296>)",
  "Maintainer": "Wenjie Wang <wang@wwenjie.org>",
  "_user": "wenjie2wang",
  "_type": "src",
  "_file": "splines2_0.5.5.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/98919471e7360ea739b73209c1a21e4a55b3de1622fed84c1040800eec72066a",
  "_filesize": 2106284,
  "_sha256": "98919471e7360ea739b73209c1a21e4a55b3de1622fed84c1040800eec72066a",
  "_expires": "2027-01-21T04:11:56.000Z",
  "_created": "2026-10-13T03:56:56.000Z",
  "_published": "2026-10-13T04:12:07.957Z",
  "_buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115121536533,
      "time": 844,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11788223733"
    },
    {
      "job": 115121536448,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11788411257"
    },
    {
      "job": 115121536518,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11787853018"
    },
    {
      "job": 115121536467,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11787628278"
    },
    {
      "job": 115121536476,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11787763242"
    },
    {
      "job": 115121536505,
      "time": 253,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11788351911"
    },
    {
      "job": 115121536500,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11787853166"
    },
    {
      "job": 115121536447,
      "time": 280,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11787558710"
    },
    {
      "job": 115120839764,
      "time": 172,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11788500822"
    },
    {
      "job": 115121536441,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11787703152"
    },
    {
      "job": 115121536466,
      "time": 257,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11787928092"
    },
    {
      "job": 115121536502,
      "time": 316,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11788052780"
    },
    {
      "job": 115121536535,
      "time": 119,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11788271713"
    },
    {
      "job": 115121536559,
      "time": 290,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11787803274"
    },
    {
      "job": 115121536482,
      "time": 152,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11788316718"
    }
  ],
  "_upstream": "https://github.com/wenjie2wang/splines2",
  "_commit": {
    "id": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
    "author": "Wenjie Wang <wang@wwenjie.org>",
    "committer": "Wenjie Wang <wang@wwenjie.org>",
    "message": "Bump copyright year and roxygen2 version\n",
    "time": 1791855048
  },
  "_maintainer": {
    "name": "Wenjie Wang",
    "email": "wang@wwenjie.org",
    "login": "wenjie2wang",
    "description": "",
    "uuid": 11081955,
    "orcid": "0000-0003-0363-3180"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.3",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "splines",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "RcppArmadillo",
      "role": "Suggests"
    }
  ],
  "_owner": "wenjie2wang",
  "_selfowned": true,
  "_usedby": 93,
  "_updates": [
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 6
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "derivative",
    "integral",
    "rcpp",
    "splines",
    "openblas",
    "cpp"
  ],
  "_stars": 45,
  "_contributors": [
    {
      "user": "wenjie2wang",
      "count": 577,
      "uuid": 11081955
    },
    {
      "user": "jun-yan",
      "count": 2,
      "uuid": 1536656
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 11081955,
    "type": "user",
    "name": "Wenjie Wang",
    "followers": 92
  },
  "_downloads": {
    "count": 15857,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/splines2"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/wenjie2wang/splines2",
  "_pkgdown": "https://wwenjie.org/splines2",
  "_searchresults": 691,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/splines2.html"
  ],
  "_homeurl": "https://github.com/wenjie2wang/splines2",
  "_realowner": "wenjie2wang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2016-09-06"
    },
    {
      "version": "0.2.1",
      "date": "2016-10-07"
    },
    {
      "version": "0.2.2",
      "date": "2016-11-05"
    },
    {
      "version": "0.2.3",
      "date": "2016-12-10"
    },
    {
      "version": "0.2.4",
      "date": "2017-01-10"
    },
    {
      "version": "0.2.5",
      "date": "2017-02-10"
    },
    {
      "version": "0.2.6",
      "date": "2017-09-11"
    },
    {
      "version": "0.2.7",
      "date": "2017-12-01"
    },
    {
      "version": "0.2.8",
      "date": "2018-06-14"
    },
    {
      "version": "0.3.0",
      "date": "2020-07-09"
    },
    {
      "version": "0.3.1",
      "date": "2020-07-14"
    },
    {
      "version": "0.4.1",
      "date": "2021-01-07"
    },
    {
      "version": "0.4.2",
      "date": "2021-02-21"
    },
    {
      "version": "0.4.3",
      "date": "2021-04-21"
    },
    {
      "version": "0.4.4",
      "date": "2021-08-16"
    },
    {
      "version": "0.4.5",
      "date": "2021-09-19"
    },
    {
      "version": "0.4.6",
      "date": "2022-08-15"
    },
    {
      "version": "0.4.7",
      "date": "2023-01-14"
    },
    {
      "version": "0.4.8",
      "date": "2023-03-26"
    },
    {
      "version": "0.5.0",
      "date": "2023-06-11"
    },
    {
      "version": "0.5.1",
      "date": "2023-08-19"
    },
    {
      "version": "0.5.2",
      "date": "2024-05-09"
    },
    {
      "version": "0.5.3",
      "date": "2024-07-08"
    },
    {
      "version": "0.5.4",
      "date": "2025-02-28"
    }
  ],
  "_exports": [
    "bernsteinPoly",
    "bpoly",
    "bsp",
    "bSpline",
    "csp",
    "cSpline",
    "dbs",
    "ibs",
    "isp",
    "iSpline",
    "msp",
    "mSpline",
    "naturalSpline",
    "nsk",
    "nsp"
  ],
  "_help": [
    {
      "page": "bernsteinPoly",
      "title": "Generalized Bernstein Polynomial Basis Functions",
      "topics": [
        "bernsteinPoly",
        "bpoly"
      ]
    },
    {
      "page": "bSpline",
      "title": "B-Spline Basis for Polynomial Splines",
      "topics": [
        "bsp",
        "bSpline",
        "dbs",
        "ibs"
      ]
    },
    {
      "page": "cSpline",
      "title": "C-Spline Basis for Polynomial Splines",
      "topics": [
        "csp",
        "cSpline"
      ]
    },
    {
      "page": "deriv",
      "title": "Derivatives of Spline Basis Functions",
      "topics": [
        "deriv",
        "deriv.BernsteinPoly",
        "deriv.BSpline",
        "deriv.CSpline",
        "deriv.ISpline",
        "deriv.MSpline",
        "deriv.NaturalSpline",
        "deriv.NaturalSplineK"
      ]
    },
    {
      "page": "iSpline",
      "title": "I-Spline Basis for Polynomial Splines",
      "topics": [
        "isp",
        "iSpline"
      ]
    },
    {
      "page": "knots",
      "title": "Extract Knots from the Given Object",
      "topics": [
        "knots",
        "knots.splines2"
      ]
    },
    {
      "page": "mSpline",
      "title": "M-Spline Basis for Polynomial Splines",
      "topics": [
        "msp",
        "mSpline"
      ]
    },
    {
      "page": "naturalSpline",
      "title": "Natural Cubic Spline Basis for Polynomial Splines",
      "topics": [
        "naturalSpline",
        "nsk",
        "nsp"
      ]
    },
    {
      "page": "plot.splines2",
      "title": "Visualize Spline Basis Functions",
      "topics": [
        "plot.splines2"
      ]
    },
    {
      "page": "predict",
      "title": "Compute Spline Function for Given Coefficients",
      "topics": [
        "predict",
        "predict.BernsteinPoly",
        "predict.BSpline",
        "predict.CSpline",
        "predict.ISpline",
        "predict.MSpline",
        "predict.NaturalSpline",
        "predict.NaturalSplineK"
      ]
    },
    {
      "page": "update",
      "title": "Update Spline Basis Functions",
      "topics": [
        "update",
        "update.BernsteinPoly",
        "update.BSpline",
        "update.CSpline",
        "update.ISpline",
        "update.MSpline",
        "update.NaturalSpline",
        "update.NaturalSplineK"
      ]
    }
  ],
  "_readme": "https://github.com/wenjie2wang/splines2/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "splines2-intro.Rmd",
      "filename": "splines2-intro.html",
      "title": "A Short Introduction to splines2",
      "author": "Wenjie Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "B-splines",
        "B-spline Basis Functions",
        "Integrals and Derivatives of B-splines",
        "Periodic B-splines",
        "M-Splines",
        "M-spline Basis Functions",
        "Periodic M-Splines",
        "I-Splines",
        "C-Splines",
        "Generalized Bernstein Polynomials",
        "Natural Cubic Splines",
        "Nonnegative Natural Cubic Basis Functions",
        "Natural Cubic Basis Functions with Unit Heights at Knots",
        "Helper and Alias Functions",
        "Update Spline's Specification by update()",
        "Evaluation by predict()",
        "Visualization by plot()",
        "Including Spline Basis Functions in Model Formulas",
        "Extract Specifications by $",
        "Reference"
      ],
      "created": "2016-08-29 03:54:03",
      "modified": "2024-05-09 00:59:50",
      "commits": 28
    },
    {
      "source": "splines2-wi-rcpp.Rmd",
      "filename": "splines2-wi-rcpp.html",
      "title": "Using splines2 with Rcpp",
      "author": "Wenjie Wang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Header Files and Namespace",
        "Classes for Spline Basis Functions",
        "Constructors of BSpline, MSpline, ISpline, and CSpline",
        "Constructors of PeriodicMSpline and PeriodicBSpline",
        "Constructors of NaturalSpline and NaturalSplineK",
        "Function Members",
        "Generalized Bernstein Polynomials",
        "Constructors",
        "Reference"
      ],
      "created": "2020-07-06 01:41:32",
      "modified": "2023-05-09 01:59:36",
      "commits": 14
    }
  ],
  "_score": 12.393788295718323,
  "_indexed": true,
  "_nocasepkg": "splines2",
  "_universes": [
    "wenjie2wang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:06:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/07c64802390e71caff4c59afbdc90f954befd39c93512b21b8fbb2f14616a41c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-10-13T03:59:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/32a8c504f6ab95413e2184f5eb27ca3b0da8ac14ee89cf2c8cb05de9fb7ee0a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-10-13T03:59:28.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/f705d99fb38115f0b934912a558377753960afa26ef31ebd260d2644933a982f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-10-13T03:59:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/171b96e8578ecb433fe420cde9232dc43219e7004792dc2ba9046f162e14fa5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:00:40.000Z",
      "arch": "aarch64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/72428797b0d9bc48b811dbbce3cd3dba50d03838a18a4847d2226f70dea5779c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:01:48.000Z",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/aee0dc9b64e962e698ba1fdae44ee89666232bc82c32c599e2e84c8df1b095b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:00:42.000Z",
      "arch": "aarch64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/0043f54776ddeba4d59f6594d7ccdfea187733cf175e522b5f6a3c5cd5bb797c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:01:20.000Z",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/de3749abbd726999656706d5abaaabb021a8070e709c9b2b80e3166d0d0121fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.5.9000",
      "date": "2026-10-13T03:58:59.000Z",
      "arch": "emscripten",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/e3a8a6be62911aa28fb5c334099c5b1d6d9768dae19e62f549df5c4e0ea849f1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:01:17.000Z",
      "arch": "aarch64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/a5961a8062f4202d25628592949f8a31dbfbeaea1ac771ce80ef5e161e764bb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:01:07.000Z",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/2c10d81688a501ddde32e1d61746a9ba8cab5fa34aacdeb8bad97d4cafabbba7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-10-13T03:58:28.000Z",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/cbeec20cfd44c3b295bd597613b8d6aeec2fcf11a89c9490bd4cde134d6d8ecc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-10-13T04:01:30.000Z",
      "arch": "aarch64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/cf649768292bfea960a65239ba5382056db70ec19690d52e505ae6e098bb8749",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-10-13T03:59:00.000Z",
      "arch": "x86_64",
      "commit": "6d228d1f8041e266ae5e9e9f5668e2a03ea4aa1f",
      "fileid": "https://r2.ropensci.org/25bd3b299d0546a5da9e9faac1a2df2723a7dfbc64429236b48482a275188982",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/38343891576"
    }
  ]
}