{
  "_id": "6ae1b08b95ca2370cc8cb52b",
  "Package": "splines2",
  "Title": "Regression Spline Functions and Classes",
  "Version": "0.5.4",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-28 07:47:35 UTC",
    "User": "root"
  },
  "Author": "Wenjie Wang [aut, cre]\n(<https://orcid.org/0000-0003-0363-3180>), Jun Yan [aut]\n(<https://orcid.org/0000-0003-4401-7296>)",
  "Maintainer": "Wenjie Wang <wang@wwenjie.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-02-28 05:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/splines2",
  "RemoteRef": "HEAD",
  "RemoteSha": "2321fc1788c387ad06e531d408c31b5d840b2286",
  "_user": "cran",
  "_type": "src",
  "_file": "splines2_0.5.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/aa4cabb79458999052fe0ea7a33b2698999f8ee096c98d328e5cc444c61313a6",
  "_filesize": 2106178,
  "_sha256": "aa4cabb79458999052fe0ea7a33b2698999f8ee096c98d328e5cc444c61313a6",
  "_expires": "2027-02-05T08:21:29.000Z",
  "_created": "2026-10-28T07:47:35.000Z",
  "_published": "2026-10-28T08:21:31.554Z",
  "_upstream": "https://github.com/cran/splines2",
  "_status": "success",
  "_maintainer": {
    "name": "Wenjie Wang",
    "email": "wang@wwenjie.org",
    "login": "wenjie2wang",
    "description": "",
    "uuid": 11081955,
    "orcid": "0000-0003-0363-3180"
  },
  "_jobs": [
    {
      "job": 122695410407,
      "time": 97,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12799912101"
    },
    {
      "job": 122695410450,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12800287344"
    },
    {
      "job": 122695410426,
      "time": 99,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12800007778"
    },
    {
      "job": 122695410590,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799524557"
    },
    {
      "job": 122694165561,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12800092302"
    },
    {
      "job": 122695410353,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12799384675"
    },
    {
      "job": 122695410511,
      "time": 229,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12800651597"
    },
    {
      "job": 122695410442,
      "time": 1981,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12801178261"
    },
    {
      "job": 122695410556,
      "time": 206,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12800387429"
    },
    {
      "job": 122695410715,
      "time": 208,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12799952288"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933",
  "_commit": {
    "id": "2321fc1788c387ad06e531d408c31b5d840b2286",
    "author": "Wenjie Wang <wang@wwenjie.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.4\n",
    "time": 1740721202
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 94,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "wenjie2wang",
      "count": 24,
      "uuid": 11081955
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 17048,
    "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": 599,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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": false,
  "_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/cran/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-10-08 00:27:39",
      "modified": "2024-05-10 02:41:32",
      "commits": 10
    },
    {
      "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-09 13:00:03",
      "modified": "2023-06-11 19:10:02",
      "commits": 7
    }
  ],
  "_score": 9.413591876854143,
  "_indexed": false,
  "_nocasepkg": "splines2",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://wenjie2wang.r-universe.dev/splines2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-10-28T07:49:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/4e53039533a96ce5bdeac8e797c1acca752e39a96d805e2329b321974d8b43e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-10-28T07:49:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/0b0129a755f216c52516d23ebeafe5b2073daef4a19974fbe9232c52fe620824",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-10-28T07:49:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/889695d8c148b60f527bf6904dc1c6308987d83d0e550f3c8a5a8589a6d8c619",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-10-28T07:49:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/fa675288989108fb73a3e9242f9c78d804edbbbfd3102b0978599fe70fb909f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.4",
      "date": "2026-10-28T07:49:41.000Z",
      "arch": "emscripten",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/fe0834182faba421ce5dcda9f172f4990e31423b0ebc0aa584211ddc6f76b8f6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-10-28T07:51:09.000Z",
      "arch": "aarch64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/61ddbb4151633a11a181216f9cf6d403d0a9a285028f51e3e1fd0c8df9918ff4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-10-28T08:18:17.000Z",
      "arch": "x86_64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/9219793de4751bf2e01b9f6e21f21b4a63c36e23214ce24046e7ac1753886d7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-10-28T07:50:51.000Z",
      "arch": "aarch64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/a6f018a8608a88a184c228589f0a40fd16bd50cc551f118d29c7234f70d3bdb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-10-28T07:50:36.000Z",
      "arch": "x86_64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "https://r2.ropensci.org/7641ac2ec14b8142031aadc3c60f6bbfbb8d920b10dfd95e263a962f4fdce445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40651998933"
    }
  ]
}