{
  "_id": "6ad1ea180edca5be25022779",
  "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-10-16 08:08:53 UTC",
    "User": "root"
  },
  "_user": "zheyuanli",
  "_type": "src",
  "_file": "gps_1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/50ca5f5ea5a4f9ba0cd9a549d3bcb154692d1188b0ba35c1e6081ae421a9512c",
  "_filesize": 529596,
  "_sha256": "50ca5f5ea5a4f9ba0cd9a549d3bcb154692d1188b0ba35c1e6081ae421a9512c",
  "_expires": "2027-01-24T09:10:47.000Z",
  "_created": "2026-10-16T08:08:53.000Z",
  "_published": "2026-10-16T09:10:48.788Z",
  "_buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116877401584,
      "time": 125,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12033790482"
    },
    {
      "job": 116877401452,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12033259953"
    },
    {
      "job": 116877401604,
      "time": 87,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12033183450"
    },
    {
      "job": 116877401546,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12032734276"
    },
    {
      "job": 116877401450,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12035818521"
    },
    {
      "job": 116877401459,
      "time": 368,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12034864080"
    },
    {
      "job": 116877401569,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12036556556"
    },
    {
      "job": 116877401651,
      "time": 284,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12035625689"
    },
    {
      "job": 116876244831,
      "time": 186,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12032883713"
    },
    {
      "job": 116877401608,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12032624288"
    },
    {
      "job": 116877401535,
      "time": 298,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12034035467"
    },
    {
      "job": 116877401566,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12032564462"
    },
    {
      "job": 116877401451,
      "time": 89,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12032669429"
    },
    {
      "job": 116877401548,
      "time": 303,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12032749766"
    },
    {
      "job": 116877401501,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12033239959"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 8
  },
  "_downloads": {
    "count": 290,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gps"
  },
  "_devurl": "https://github.com/zheyuanli/gps",
  "_searchresults": 0,
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gps.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.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)"
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "gps",
  "_universes": [
    "zheyuanli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-16T08:11:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/46b10cf792c601ed2d28fb3f5fd7a3539380c34fe871facc7d70950b0f5c0c97",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-16T08:10:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/83319e0382ecb531e3ae33785da60dec449d67f6a3f2ceddefcc3c55760dfbd0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-16T08:10:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/bb95a8167a01272b02a14ebd5f95f23f3673794f2b51a3bf9ce682db3104d7b6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-16T08:10:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/8137f1df3b73488032774de63f996dc528b387834db73134a576ee9246cfc146",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-10-16T09:07:49.000Z",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/8c6e9f78f85e1109f00771db0ed89e12fb4fdff55d730aae58a8562f4c89ed6a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-10-16T08:45:29.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/164edffa66e9188594ee86b7da8159e56ef26f34db2fd4e64104a36177d9f925",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2",
      "date": "2026-10-16T09:09:43.000Z",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/ef7b1e840dc5d4d72c5286889e383dea38003610704400d0567183415f4f8203",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2",
      "date": "2026-10-16T08:44:58.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/d2ecf0bfb34df43e61e2ecf40e526d833d29df9d80d6803930b9479ddcd10007",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-10-16T08:10:48.000Z",
      "arch": "emscripten",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/39a900cb27fff80828fd39b5cd8c331188695bc35c5a742bb92ffa7c4871f8fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-16T08:13:40.000Z",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/b2391b97db85bb003b0363d326420884d8cac862815973cf8c681b7a5070f50c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-16T08:09:56.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/6d086de1101e8005a02d593ad1e0f87889fe71a0e8e6358331d129a254f52bd9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-16T08:10:08.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/331f034fa541e4d52c621d3420c07ef2ef31bfd5e3aac7b124ea5a03bf1347e5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-16T08:13:49.000Z",
      "arch": "aarch64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/f24ac0b515d35f737e1600ef328bec11ce2a3bdc40fc67b07513cad17ac5e37c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-16T08:09:53.000Z",
      "arch": "x86_64",
      "commit": "ed5ea12192d369927e8b4e0ae29dc58399daef19",
      "fileid": "https://r2.ropensci.org/fbd492fc9afa41cf632b9f1b16d3493a290ecc66cd61d703c10e45ed3d816e1b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/zheyuanli/actions/runs/38871415547"
    }
  ]
}