{
  "_id": "6a215bd8cd65a98ecbd2f158",
  "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-06-04 11:01:25 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",
  "MD5sum": "fe043eece1797b48e605d292baf86a57",
  "_user": "cran",
  "_type": "src",
  "_file": "splines2_0.5.4.tar.gz",
  "_fileid": "da9b784d82b699a69179f9657ebae19897d704d592d988aa26955ce802279176",
  "_filesize": 2106313,
  "_sha256": "da9b784d82b699a69179f9657ebae19897d704d592d988aa26955ce802279176",
  "_created": "2026-06-04T11:01:25.000Z",
  "_published": "2026-06-04T11:04:56.485Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79504715357,
      "time": 151,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7409786356"
    },
    {
      "job": 79504715336,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7409776327"
    },
    {
      "job": 79504715485,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409779289"
    },
    {
      "job": 79504715355,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409787846"
    },
    {
      "job": 79504151553,
      "time": 215,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409737594"
    },
    {
      "job": 79504715309,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409773621"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26947519236",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/splines2",
  "_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
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 90,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "wenjie2wang",
      "count": 24,
      "uuid": 11081955
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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": 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.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-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.409886649645392,
  "_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-06-04T11:04:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "dd16edbb9fbd8591280a8878140c9f9440a2cee615d920171216474f4cb071cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947519236"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-06-04T11:03:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "7c49de31427d5d6530d800df55e0db3f4e464a62836d493641a41d8da17d9dc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947519236"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-06-04T11:03:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "b7290bb839189c052c2eb846036e6122160a9531375c5e92a987b9fd5f81f07a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947519236"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-06-04T11:04:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "e534518e07353e49176fe722bc34ab1b841d2a989e3008b9c77e13b5a94584b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947519236"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.4",
      "date": "2026-06-04T11:03:43.000Z",
      "arch": "emscripten",
      "commit": "2321fc1788c387ad06e531d408c31b5d840b2286",
      "fileid": "a0ba1bb014554fa19d80710e9a85e4cc4eee44692c19a647364b4d4169595855",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947519236"
    }
  ]
}