{
  "_id": "6a1f2603b401979e73421bd4",
  "Package": "sparr",
  "Type": "Package",
  "Title": "Spatial and Spatiotemporal Relative Risk",
  "Version": "2.3-16",
  "Date": "2025-03-20",
  "Authors@R": "c(\nperson(c(\"Tilman\", \"M.\"), \"Davies\", role = c(\"aut\", \"cre\"), email = \"tilman.davies@otago.ac.nz\"),\nperson(c(\"Jonathan\", \"C.\"), \"Marshall\", role = c(\"aut\"), email = \"j.c.marshall@massey.ac.nz\"))",
  "Description": "Provides functions to estimate kernel-smoothed spatial and\nspatio-temporal densities and relative risk functions, and\nperform subsequent inference. Methodological details can be\nfound in the accompanying tutorial: Davies et al. (2018)\n<DOI:10.1002/sim.7577>.",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.2",
  "URL": "https://tilmandavies.github.io/sparr/,\nhttps://github.com/tilmandavies/sparr/",
  "BugReports": "https://github.com/tilmandavies/sparr/issues/",
  "Encoding": "UTF-8",
  "Repository": "https://tilmandavies.r-universe.dev",
  "Date/Publication": "2025-03-20 00:21:10 UTC",
  "RemoteUrl": "https://github.com/tilmandavies/sparr",
  "RemoteRef": "HEAD",
  "RemoteSha": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
  "Packaged": {
    "Date": "2026-05-16 06:00:58 UTC",
    "User": "root"
  },
  "Author": "Tilman M. Davies [aut, cre],\nJonathan C. Marshall [aut]",
  "Maintainer": "Tilman M. Davies <tilman.davies@otago.ac.nz>",
  "MD5sum": "c9fb9e95b8e3a0885225fe5261b52508",
  "_user": "tilmandavies",
  "_type": "src",
  "_file": "sparr_2.3-16.tar.gz",
  "_fileid": "3eea581886b4d27e83be67dee4f27804eaf737fcd7b1911cf1d14b2902de6adc",
  "_filesize": 647694,
  "_sha256": "3eea581886b4d27e83be67dee4f27804eaf737fcd7b1911cf1d14b2902de6adc",
  "_created": "2026-05-16T06:00:58.000Z",
  "_published": "2026-06-02T18:50:43.458Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79147543500,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031036043"
    },
    {
      "job": 79147544207,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031035693"
    },
    {
      "job": 79147543518,
      "time": 205,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031076581"
    },
    {
      "job": 79147543509,
      "time": 219,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031067935"
    },
    {
      "job": 79147543384,
      "time": 163,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031017842"
    },
    {
      "job": 79147543103,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366939571"
    },
    {
      "job": 79147543744,
      "time": 123,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031031759"
    },
    {
      "job": 79147544004,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031030646"
    },
    {
      "job": 79147543702,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031030973"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tilmandavies/sparr",
  "_commit": {
    "id": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
    "author": "Tilman Davies <tilman.davies@otago.ac.nz>",
    "committer": "Tilman Davies <tilman.davies@otago.ac.nz>",
    "message": "-fixing 'tol.classify'\n",
    "time": 1742430070
  },
  "_maintainer": {
    "name": "Tilman M. Davies",
    "email": "tilman.davies@otago.ac.nz",
    "login": "tilmandavies",
    "uuid": 21017548
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10.1",
      "role": "Depends"
    },
    {
      "package": "spatstat",
      "version": ">= 2.3-0",
      "role": "Depends"
    },
    {
      "package": "spatstat.utils",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "spatstat.explore",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "spatstat.univar",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "misc3d",
      "role": "Imports"
    },
    {
      "package": "fftwtools",
      "version": ">= 0.9.8",
      "role": "Suggests"
    }
  ],
  "_owner": "tilmandavies",
  "_selfowned": true,
  "_usedby": 8,
  "_updates": [],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "tilmandavies",
      "count": 3,
      "uuid": 21017548
    },
    {
      "user": "jmarshallnz",
      "count": 1,
      "uuid": 406571
    },
    {
      "user": "rubak",
      "count": 1,
      "uuid": 6704085
    }
  ],
  "_userbio": {
    "uuid": 21017548,
    "type": "user",
    "name": "tilmandavies"
  },
  "_downloads": {
    "count": 747,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparr"
  },
  "_devurl": "https://github.com/tilmandavies/sparr",
  "_pkgdown": "https://tilmandavies.github.io/sparr/",
  "_searchresults": 125,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sparr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tilmandavies/sparr",
  "_realowner": "tilmandavies",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-7",
      "date": "2010-04-16"
    },
    {
      "version": "0.2-1",
      "date": "2010-07-24"
    },
    {
      "version": "0.2-2",
      "date": "2011-02-28"
    },
    {
      "version": "0.2-3",
      "date": "2011-09-20"
    },
    {
      "version": "0.3-0",
      "date": "2011-11-07"
    },
    {
      "version": "0.3-1",
      "date": "2011-12-13"
    },
    {
      "version": "0.3-2",
      "date": "2012-08-08"
    },
    {
      "version": "0.3-3",
      "date": "2013-10-08"
    },
    {
      "version": "0.3-4",
      "date": "2013-12-10"
    },
    {
      "version": "0.3-5",
      "date": "2014-05-30"
    },
    {
      "version": "0.3-6",
      "date": "2014-10-24"
    },
    {
      "version": "0.3-7",
      "date": "2015-09-17"
    },
    {
      "version": "0.3-8",
      "date": "2016-03-10"
    },
    {
      "version": "2.1-10",
      "date": "2017-07-17"
    },
    {
      "version": "2.1-11",
      "date": "2017-08-02"
    },
    {
      "version": "2.1-12",
      "date": "2017-08-27"
    },
    {
      "version": "2.1-13",
      "date": "2017-09-28"
    },
    {
      "version": "2.1-14",
      "date": "2017-11-13"
    },
    {
      "version": "2.2-1",
      "date": "2018-02-22"
    },
    {
      "version": "2.2-11",
      "date": "2018-03-10"
    },
    {
      "version": "2.2-12",
      "date": "2018-07-22"
    },
    {
      "version": "2.2-13",
      "date": "2018-09-16"
    },
    {
      "version": "2.2-15",
      "date": "2021-03-16"
    },
    {
      "version": "2.2-16",
      "date": "2022-02-21"
    },
    {
      "version": "2.2-17",
      "date": "2022-11-10"
    },
    {
      "version": "2.3-10",
      "date": "2023-03-09"
    },
    {
      "version": "2.3-15",
      "date": "2024-07-07"
    },
    {
      "version": "2.3-16",
      "date": "2025-03-22"
    }
  ],
  "_exports": [
    "available.h0",
    "bivariate.density",
    "BOOT.density",
    "BOOT.spattemp",
    "fft2d",
    "LIK.density",
    "LIK.spattemp",
    "LSCV.density",
    "LSCV.risk",
    "LSCV.spattemp",
    "multiscale.density",
    "multiscale.slice",
    "NS",
    "NS.spattemp",
    "OS",
    "OS.spattemp",
    "rimpoly",
    "risk",
    "SLIK.adapt",
    "spattemp.density",
    "spattemp.risk",
    "spattemp.slice",
    "tol.classify",
    "tol.classplot",
    "tol.contour",
    "tolerance"
  ],
  "_datasets": [
    {
      "name": "burk",
      "title": "Burkitt's lymphoma in Uganda",
      "object": "burk",
      "file": "burk.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fmd",
      "title": "Veterinary foot-and-mouth disease outbreak data",
      "object": "fmd",
      "file": "fmd.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "pbc",
      "title": "Primary biliary cirrhosis data",
      "object": "pbc",
      "file": "pbc.rda",
      "class": [
        "ppp"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "sparr-package",
      "title": "The sparr Package: Spatial and Spatiotemporal Relative Risk",
      "topics": [
        "sparr-package",
        "sparr"
      ]
    },
    {
      "page": "available.h0",
      "title": "Available global bandwidth range",
      "topics": [
        "available.h0"
      ]
    },
    {
      "page": "bivariate.density",
      "title": "Bivariate kernel density/intensity estimation",
      "topics": [
        "bivariate.density",
        "bivden"
      ]
    },
    {
      "page": "BOOT.density",
      "title": "Bootstrap bandwidth for a spatial kernel density estimate",
      "topics": [
        "BOOT.density"
      ]
    },
    {
      "page": "BOOT.spattemp",
      "title": "Bootstrap bandwidths for a spatiotemporal kernel density estimate",
      "topics": [
        "BOOT.spattemp"
      ]
    },
    {
      "page": "burk",
      "title": "Burkitt's lymphoma in Uganda",
      "topics": [
        "burk"
      ]
    },
    {
      "page": "fft2d",
      "title": "2D fast-Fourier wrapper around 'fftwtools' or 'stats' package",
      "topics": [
        "fft2d"
      ]
    },
    {
      "page": "fmd",
      "title": "Veterinary foot-and-mouth disease outbreak data",
      "topics": [
        "fmd"
      ]
    },
    {
      "page": "CV",
      "title": "Cross-validation bandwidths for spatial kernel density estimates",
      "topics": [
        "LIK.density",
        "LSCV.density"
      ]
    },
    {
      "page": "LSCV.spattemp",
      "title": "Cross-validation bandwidths for spatiotemporal kernel density estimates",
      "topics": [
        "LIK.spattemp",
        "LSCV.spattemp"
      ]
    },
    {
      "page": "LSCV.risk",
      "title": "Jointly optimal bandwidth selection for the spatial relative risk function",
      "topics": [
        "LSCV.risk"
      ]
    },
    {
      "page": "multiscale.density",
      "title": "Multi-scale adaptive kernel density/intensity estimation",
      "topics": [
        "msden",
        "multiscale.density"
      ]
    },
    {
      "page": "multiscale.slice",
      "title": "Slicing a multi-scale density/intensity object",
      "topics": [
        "multiscale.slice"
      ]
    },
    {
      "page": "NS",
      "title": "Normal scale (NS) bandwidth selector",
      "topics": [
        "NS",
        "NS.spattemp"
      ]
    },
    {
      "page": "OS",
      "title": "Oversmoothing (OS) bandwidth selector",
      "topics": [
        "OS",
        "OS.spattemp"
      ]
    },
    {
      "page": "pbc",
      "title": "Primary biliary cirrhosis data",
      "topics": [
        "pbc"
      ]
    },
    {
      "page": "plotsparr",
      "title": "Plotting sparr objects",
      "topics": [
        "plot.bivden",
        "plot.msden",
        "plot.rrs",
        "plot.rrst",
        "plot.stden"
      ]
    },
    {
      "page": "printsparr",
      "title": "Printing sparr objects",
      "topics": [
        "print.bivden",
        "print.msden",
        "print.rrs",
        "print.rrst",
        "print.stden"
      ]
    },
    {
      "page": "rimpoly",
      "title": "Random point generation inside polygon",
      "topics": [
        "rimpoly"
      ]
    },
    {
      "page": "risk",
      "title": "Spatial relative risk/density ratio",
      "topics": [
        "risk",
        "rrs"
      ]
    },
    {
      "page": "SLIK.adapt",
      "title": "Simultaneous global/pilot likelihood bandwidth selection",
      "topics": [
        "SLIK.adapt"
      ]
    },
    {
      "page": "spattemp.density",
      "title": "Spatiotemporal kernel density estimation",
      "topics": [
        "spattemp.density",
        "stden"
      ]
    },
    {
      "page": "spattemp.risk",
      "title": "Spatiotemporal relative risk/density ratio",
      "topics": [
        "rrst",
        "spattemp.risk"
      ]
    },
    {
      "page": "spattemp.slice",
      "title": "Slicing a spatiotemporal object",
      "topics": [
        "spattemp.slice"
      ]
    },
    {
      "page": "summarysparr",
      "title": "Summarising sparr objects",
      "topics": [
        "summary.bivden",
        "summary.msden",
        "summary.rrs",
        "summary.rrst",
        "summary.stden"
      ]
    },
    {
      "page": "tol.classify",
      "title": "Classification by _p_-value surfaces",
      "topics": [
        "tol.classify"
      ]
    },
    {
      "page": "tol.classplot",
      "title": "Plot tolerance contour classification scheme",
      "topics": [
        "tol.classplot"
      ]
    },
    {
      "page": "tol.contour",
      "title": "Plot tolerance contours",
      "topics": [
        "tol.contour"
      ]
    },
    {
      "page": "tolerance",
      "title": "Tolerance by _p_-value surfaces",
      "topics": [
        "tolerance"
      ]
    }
  ],
  "_readme": "https://github.com/tilmandavies/sparr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "codetools",
    "deldir",
    "doParallel",
    "foreach",
    "goftest",
    "iterators",
    "lattice",
    "Matrix",
    "mgcv",
    "misc3d",
    "nlme",
    "polyclip",
    "rpart",
    "spatstat",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.linnet",
    "spatstat.model",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "tensor"
  ],
  "_score": 6.431363764158987,
  "_indexed": true,
  "_nocasepkg": "sparr",
  "_universes": [
    "tilmandavies"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3-16",
      "date": "2026-05-16T06:03:04.000Z",
      "distro": "noble",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "b867e63e2b6f612f9439858ad75ab5826064f8682b07537aae54c4289c36c32c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3-16",
      "date": "2026-05-16T06:03:14.000Z",
      "distro": "noble",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "45dace38e50dce39b940cb158c9e81194750251c5977c7985457513a9c56af2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3-16",
      "date": "2026-05-16T06:09:11.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "3e12ff59e9e59361de991f682ce3d3c06acdabf7cfb9189a6b825eeb78acd8df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3-16",
      "date": "2026-05-16T06:07:45.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "636b328dddb467425b5ae28cc8bef7c671528efb7fc308d4c25c564991bd618c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3-16",
      "date": "2026-05-16T06:02:31.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "9809d692e03bfe2dd0af7df73da439f098b2924b87664631786c47c0032b749e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3-16",
      "date": "2026-05-16T06:02:19.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "e1677a35f5733bef2c10070dbbb814c4c6a9ef2d5c84977cf8db19bb0301142e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3-16",
      "date": "2026-05-16T06:02:29.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "8885f538526a2b3eb30c5fe0eb5d713c7ec793b3f07ee94b334a2baaf09688ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3-16",
      "date": "2026-06-02T18:50:11.000Z",
      "commit": "67ad2c995683b5122d4edee16d2eaacbbfb868cb",
      "fileid": "d165573af527ad42d1af218f20dc16720dc0180ade5b4405170fd45f538db834",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tilmandavies/actions/runs/25954427483"
    }
  ]
}