{
  "_id": "6a10477facfb0bcc41c9efd6",
  "Package": "gps",
  "Version": "1.2",
  "Date": "2023-05-21",
  "Title": "General P-Splines",
  "Authors@R": "person(\"Zheyuan\", \"Li\", role = c(\"aut\", \"cre\"),\nemail = \"zheyuan.li@bath.edu\",\ncomment = c(ORCID = \"0000-0002-7434-5947\"))",
  "Author": "Zheyuan Li [aut, cre] (<https://orcid.org/0000-0002-7434-5947>)",
  "Maintainer": "Zheyuan Li <zheyuan.li@bath.edu>",
  "Description": "General P-splines are non-uniform B-splines penalized by a\ngeneral difference penalty, proposed by Li and Cao (2022)\n<arXiv:2201.06808>. Constructible on arbitrary knots, they\nextend the standard P-splines of Eilers and Marx (1996)\n<doi:10.1214/ss/1038425655>. They are also related to the\nO-splines of O'Sullivan (1986) <doi:10.1214/ss/1177013525> via\na sandwich formula that links a general difference penalty to a\nderivative penalty. The package includes routines for setting\nup and handling difference and derivative penalties. It also\nfits P-splines and O-splines to (x, y) data (optionally\nweighted) for a grid of smoothing parameter values in the\nautomatic search intervals of Li and Cao (2023)\n<doi:10.1007/s11222-022-10178-z>. It aims to facilitate other\npackages to implement P-splines or O-splines as a smoothing\ntool in their model estimation framework.",
  "License": "GPL-3",
  "NeedsCompilation": "yes",
  "URL": "https://github.com/ZheyuanLi/gps",
  "Repository": "https://zheyuanli.r-universe.dev",
  "Date/Publication": "2023-05-21 12:02:31 UTC",
  "RemoteUrl": "https://github.com/zheyuanli/gps",
  "RemoteRef": "HEAD",
  "RemoteSha": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
  "Packaged": {
    "Date": "2026-05-10 09:39:25 UTC",
    "User": "root"
  },
  "MD5sum": "37307b14b56110941e308d581bc6de7a",
  "_user": "zheyuanli",
  "_type": "src",
  "_file": "gps_1.2.tar.gz",
  "_fileid": "8ccf4260e936234fc1ca4b39c11ff252d3f9da791b92026d5f3d5b7b3c2a900e",
  "_filesize": 529606,
  "_sha256": "8ccf4260e936234fc1ca4b39c11ff252d3f9da791b92026d5f3d5b7b3c2a900e",
  "_created": "2026-05-10T09:39:25.000Z",
  "_published": "2026-05-22T12:09:34.995Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77376499046,
      "time": 116,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6902735706"
    },
    {
      "job": 77376498983,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6902735964"
    },
    {
      "job": 77376499483,
      "time": 104,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6902734583"
    },
    {
      "job": 77376499305,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6902735767"
    },
    {
      "job": 77376499228,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6902754135"
    },
    {
      "job": 77376499145,
      "time": 250,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6902758548"
    },
    {
      "job": 77376499092,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6902764690"
    },
    {
      "job": 77376499011,
      "time": 191,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6902755188"
    },
    {
      "job": 77376498642,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902723769"
    },
    {
      "job": 77376498619,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160116962"
    },
    {
      "job": 77376498881,
      "time": 93,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6902733447"
    },
    {
      "job": 77376499360,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6902734093"
    },
    {
      "job": 77376498779,
      "time": 125,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6902736850"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/zheyuanli/gps",
  "_commit": {
    "id": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
    "author": "Zheyuan Li <43939611+ZheyuanLi@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "(1) rspl() added; (2) gps_1.2 pushed to GitHub",
    "time": 1684670551
  },
  "_maintainer": {
    "name": "Zheyuan Li",
    "email": "zheyuan.li@bath.edu",
    "orcid": "0000-0002-7434-5947"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    }
  ],
  "_owner": "zheyuanli",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "zheyuanli",
      "count": 17,
      "uuid": 43939611
    }
  ],
  "_userbio": {
    "uuid": 43939611,
    "type": "user",
    "name": "Zheyuan Li"
  },
  "_downloads": {
    "count": 214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gps"
  },
  "_devurl": "https://github.com/zheyuanli/gps",
  "_searchresults": 0,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gps.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/zheyuanli/gps",
  "_realowner": "zheyuanli",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2022-01-27"
    },
    {
      "version": "1.1",
      "date": "2023-04-30"
    },
    {
      "version": "1.2",
      "date": "2023-11-02"
    }
  ],
  "_exports": [
    "btSb",
    "DemoBS",
    "DemoKnots",
    "DemoNull",
    "DemoPBS",
    "DemoRhoLim",
    "DemoSpl",
    "DiffCoef",
    "gps2GS",
    "GramBS",
    "MakeGrid",
    "MPinv",
    "pbsDesign",
    "PlaceKnots",
    "PriorCoef",
    "rspl",
    "SparseD",
    "SparsePD"
  ],
  "_help": [
    {
      "page": "DemoBS",
      "title": "Demonstrate the construction of ordinary B-splines",
      "topics": [
        "DemoBS"
      ]
    },
    {
      "page": "DemoKnots",
      "title": "Demonstrate ordinary cubic B-splines on three types of knots",
      "topics": [
        "DemoKnots"
      ]
    },
    {
      "page": "DemoNull",
      "title": "Demonstrate the null space of P-splines",
      "topics": [
        "DemoNull"
      ]
    },
    {
      "page": "DemoPBS",
      "title": "Demonstrate the construction of periodic B-splines",
      "topics": [
        "DemoPBS"
      ]
    },
    {
      "page": "DemoSpl",
      "title": "Demonstrate a polynomial spline and its B-spline representation",
      "topics": [
        "DemoSpl"
      ]
    },
    {
      "page": "gps2GS",
      "title": "Penalized B-splines estimation with automatic grid search of their smoothing parameter",
      "topics": [
        "DemoRhoLim",
        "gps2GS"
      ]
    },
    {
      "page": "GramBS",
      "title": "Gram matrix of B-splines",
      "topics": [
        "GramBS"
      ]
    },
    {
      "page": "MakeGrid",
      "title": "Make a grid of x-values between domain knots",
      "topics": [
        "MakeGrid"
      ]
    },
    {
      "page": "penalty",
      "title": "Wiggliness penalties for penalized B-splines",
      "topics": [
        "MPinv",
        "penalties",
        "penalty",
        "PriorCoef",
        "SparseD"
      ]
    },
    {
      "page": "penutils",
      "title": "Utility functions for working with wiggliness penalties",
      "topics": [
        "btSb",
        "DiffCoef",
        "penalty.utilities",
        "penalty.utils",
        "penutils"
      ]
    },
    {
      "page": "periodic",
      "title": "Design matrix and general difference matrices for periodic B-splines",
      "topics": [
        "pbsDesign",
        "periodic",
        "SparsePD"
      ]
    },
    {
      "page": "PlaceKnots",
      "title": "Automatically place knots according to data",
      "topics": [
        "PlaceKnots"
      ]
    },
    {
      "page": "rspl",
      "title": "Simulate random cubic splines",
      "topics": [
        "random.splines",
        "rspl"
      ]
    }
  ],
  "_readme": "https://github.com/zheyuanli/gps/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix"
  ],
  "_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)"
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "gps",
  "_universes": [
    "zheyuanli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-10T09:41:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "80c428e50619357d13b6e184cad550007167575ef4b26ecf8c1f9f30dc7d726d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-10T09:41:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "92e5e246c8f7f22411360ee1e5fc2e4c6f65c57aae993298b4bfe62217fd2d2b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-10T09:41:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "ec5402d40d70fd5fafd229e427726ce85867fd8537afa18a9391b630d7a6b525",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-10T09:41:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "c410c6f169be2cabd21414258bfd6f886a2a866eba870f9edeebbf7d21c16a00",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-10T09:44:36.000Z",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "9583ae046c1952b91809726ddac5f180fd0a457ad62b0130f8af6ac06803503c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-10T09:44:31.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "6eabc7bfb4eda4353ca601824aabc7d96772b7fa27f0d8526bfa47f426f65808",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-10T09:46:25.000Z",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "81c2a9339b8ec287f75f02c189609bdb17342eb60f8b14bae66c117e747bdd12",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2",
      "date": "2026-05-10T09:44:26.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "be3bb619672f2c40ce90fae8f78d8aa4107d409c00d4b2a94e8c17210c5e4892",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-10T09:40:39.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "682ef09155520f848569fd58e39b97cbf82a39a05995e2ec89be99200642cd4a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-10T09:40:36.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "1d11085466a61bdc2c9b1401458d6da972f962fcfb8741347a50fa949afc2704",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-05-10T09:40:53.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "9aeb3d3265b535c891d0184b277b2751d8411709c438b9de1c366e679a50ba3b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-05-22T12:09:04.000Z",
      "arch": "emscripten",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "ce87c07f84a2757777fed37d5c6711d4ecfeba070ffbef7ac9480adbf35fa04a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/25625374610"
    }
  ]
}