{
  "_id": "6a213f37cd65a98ecbd29dd0",
  "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",
  "RoxygenNote": "7.3.2",
  "Repository": "https://wenjie2wang.r-universe.dev",
  "Date/Publication": "2025-03-05 03:48:32 UTC",
  "RemoteUrl": "https://github.com/wenjie2wang/splines2",
  "RemoteRef": "HEAD",
  "RemoteSha": "9563557554be5eb380f9579e55dafa298d01a7ab",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-04 08:57:53 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>",
  "MD5sum": "a302fe8127188d5a842fabbfa8b2fd53",
  "_user": "wenjie2wang",
  "_type": "src",
  "_file": "splines2_0.5.5.9000.tar.gz",
  "_fileid": "680a15040ffcb9869bf1dccd5b3ba965b00d94d18d59404ead553a497f7b158b",
  "_filesize": 2105653,
  "_sha256": "680a15040ffcb9869bf1dccd5b3ba965b00d94d18d59404ead553a497f7b158b",
  "_created": "2026-06-04T08:57:53.000Z",
  "_published": "2026-06-04T09:02:47.182Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79484721887,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407310174"
    },
    {
      "job": 79484722128,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407302301"
    },
    {
      "job": 79484721922,
      "time": 115,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407299710"
    },
    {
      "job": 79484721937,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407300363"
    },
    {
      "job": 79484721905,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407299921"
    },
    {
      "job": 79484721978,
      "time": 238,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407340086"
    },
    {
      "job": 79484721931,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407291686"
    },
    {
      "job": 79484721913,
      "time": 206,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407328871"
    },
    {
      "job": 79484201316,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407259748"
    },
    {
      "job": 79484721840,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407299265"
    },
    {
      "job": 79484721903,
      "time": 146,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7407309392"
    },
    {
      "job": 79484721878,
      "time": 146,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7407308390"
    },
    {
      "job": 79484721899,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7407295494"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/wenjie2wang/splines2",
  "_commit": {
    "id": "9563557554be5eb380f9579e55dafa298d01a7ab",
    "author": "Wenjie Wang <wang@wwenjie.org>",
    "committer": "Wenjie Wang <wang@wwenjie.org>",
    "message": "Remove internal \"standardize\" for nsp to avoid possible confusion\n",
    "time": 1741146512
  },
  "_maintainer": {
    "name": "Wenjie Wang",
    "email": "wang@wwenjie.org",
    "login": "wenjie2wang",
    "description": "",
    "uuid": 11081955,
    "orcid": "0000-0003-0363-3180"
  },
  "_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": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "RcppArmadillo",
      "role": "Suggests"
    }
  ],
  "_owner": "wenjie2wang",
  "_selfowned": true,
  "_usedby": 90,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "derivative",
    "integral",
    "rcpp",
    "splines",
    "openblas",
    "cpp"
  ],
  "_stars": 45,
  "_contributors": [
    {
      "user": "wenjie2wang",
      "count": 570,
      "uuid": 11081955
    },
    {
      "user": "jun-yan",
      "count": 2,
      "uuid": 1536656
    }
  ],
  "_userbio": {
    "uuid": 11081955,
    "type": "user",
    "name": "Wenjie Wang"
  },
  "_downloads": {
    "count": 18750,
    "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": 564,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/splines2.html",
    "manual.pdf"
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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": 11.585977908701075,
  "_indexed": true,
  "_nocasepkg": "splines2",
  "_universes": [
    "wenjie2wang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:00:27.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "f5bda05e0a7404c7d817d049bdf6308aeae9921e5dd31c6b8beaa4cef7056c61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:00:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "44656f5bec6b83a28ff85fc43f563cbf62fd383104e2f4077fda6179cc0f0416",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:00:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "54a56623be9c024242abb7d587f307e6a7f40dd275ac83ea995cfafbb8ac3387",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:00:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "a467fc5e298c7cbdae1f09e0c34b1b7b06b0de12decfb4ed7cdd8fe50524eac6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-06-04T08:59:55.000Z",
      "arch": "aarch64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "47719baf58aba417b63e70aec8c2ccba4fd5915638f8b95df0a25995d050e58d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:01:23.000Z",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "32fa5ea77941986a55a192bb5c041753e480f7d41e5c07db0d3d57138e2f6412",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-06-04T08:59:36.000Z",
      "arch": "aarch64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "a9fafc6d19f421d0981af1dbcd7414964cf1deb93d60d675e54ca05f846d817f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:01:05.000Z",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "5a2618b9eacdbc57e081c8b08eef54d23b070de6a962c396ac338a1f3dbe3cce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.5.9000",
      "date": "2026-06-04T09:00:10.000Z",
      "arch": "emscripten",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "d70a9d286930c7de27139c41d67e10d10d6db2f4facba4fc516fff0f4459de3f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-06-04T08:59:51.000Z",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "a707af812f46a084035d839592ebe867a2179fb08419d2fe037a9b1a7906c0f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-06-04T08:59:32.000Z",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "63c24cb1e21925c7b8af8b0785ab3f23d0f25392369370f3b04e08414ca81830",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.5.9000",
      "date": "2026-06-04T08:59:14.000Z",
      "arch": "x86_64",
      "commit": "9563557554be5eb380f9579e55dafa298d01a7ab",
      "fileid": "d6d5ec097122e519d873e17bd57142dba63fd87a02945218e72cbb6c095971f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wenjie2wang/actions/runs/26941079142"
    }
  ]
}