{
  "_id": "6a0fef58acfb0bcc41c74d62",
  "Package": "CRTspat",
  "Title": "Workflow for Cluster Randomised Trials with Spillover",
  "Version": "1.4.0",
  "Authors@R": "c(person(given = \"Thomas\",\nfamily = \"Smith\",\nemail = \"Thomas-a.Smith@unibas.ch\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3650-9381\")),\nperson(given = \"Lea\",\nfamily = \"Multerer\",\nrole = \"ctb\"),\nperson(given = \"Mariah\",\nfamily = \"Silkey\",\nrole = \"ctb\"))",
  "Maintainer": "Thomas Smith <Thomas-a.Smith@unibas.ch>",
  "Description": "Design, workflow and statistical analysis of Cluster\nRandomised Trials of (health) interventions where there may be\nspillover between the arms (see\n<https://thomasasmith.github.io/index.html>).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable/",
  "Config/testthat/edition": "2",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://thomasasmith.r-universe.dev",
  "Date/Publication": "2026-01-21 16:00:15 UTC",
  "RemoteUrl": "https://github.com/thomasasmith/crtspat",
  "RemoteRef": "HEAD",
  "RemoteSha": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 05:45:06 UTC",
    "User": "root"
  },
  "Author": "Thomas Smith [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3650-9381>),\nLea Multerer [ctb],\nMariah Silkey [ctb]",
  "MD5sum": "492a13f9057f4295b4920531d53065e3",
  "_user": "thomasasmith",
  "_type": "src",
  "_file": "CRTspat_1.4.0.tar.gz",
  "_fileid": "fe105041dd698e797a1077bef92357f131aff4db8411223b6164bb10985a6b97",
  "_filesize": 1706369,
  "_sha256": "fe105041dd698e797a1077bef92357f131aff4db8411223b6164bb10985a6b97",
  "_created": "2026-05-22T05:45:06.000Z",
  "_published": "2026-05-22T05:53:28.114Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77323454948,
      "time": 213,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7153636296"
    },
    {
      "job": 77323454959,
      "time": 217,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153635899"
    },
    {
      "job": 77323454947,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7153676297"
    },
    {
      "job": 77323454945,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153650481"
    },
    {
      "job": 77323063235,
      "time": 241,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153592926"
    },
    {
      "job": 77323454933,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153626304"
    },
    {
      "job": 77323454950,
      "time": 144,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7153622118"
    },
    {
      "job": 77323454946,
      "time": 190,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7153631151"
    },
    {
      "job": 77323454953,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7153622415"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/thomasasmith/crtspat",
  "_commit": {
    "id": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
    "author": "ThomasASmith <thomas-a.smith@unibas.ch>",
    "committer": "ThomasASmith <thomas-a.smith@unibas.ch>",
    "message": "Merge remote-tracking branch 'origin/main'\n\n# Conflicts:\n#\ttests/testthat/test9.R\n",
    "time": 1769011215
  },
  "_maintainer": {
    "name": "Thomas Smith",
    "email": "thomas-a.smith@unibas.ch",
    "login": "thomasasmith",
    "description": "",
    "uuid": 9484964,
    "orcid": "0000-0002-3650-9381"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "OOR",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "TSP",
      "role": "Imports"
    },
    {
      "package": "gee",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "thomasasmith",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "thomasasmith",
      "count": 257,
      "uuid": 9484964
    }
  ],
  "_userbio": {
    "uuid": 9484964,
    "type": "user",
    "name": "ThomasASmith"
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CRTspat"
  },
  "_devurl": "https://github.com/thomasasmith/crtspat",
  "_searchresults": 31,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/CRTspat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thomasasmith/crtspat",
  "_realowner": "thomasasmith",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-10-16"
    },
    {
      "version": "1.1.0",
      "date": "2023-11-30"
    },
    {
      "version": "1.2.0",
      "date": "2024-02-12"
    },
    {
      "version": "1.3.0",
      "date": "2024-07-25"
    },
    {
      "version": "1.3.2",
      "date": "2025-01-27"
    },
    {
      "version": "1.4.0",
      "date": "2026-01-21"
    }
  ],
  "_exports": [
    "aggregateCRT",
    "anonymize_site",
    "compute_distance",
    "compute_mesh",
    "CRTanalysis",
    "CRTpower",
    "CRTsp",
    "CRTwrite",
    "latlong_as_xy",
    "plotCRT",
    "randomizeCRT",
    "readdata",
    "simulateCRT",
    "specify_buffer",
    "specify_clusters"
  ],
  "_help": [
    {
      "page": "aggregateCRT",
      "title": "Aggregate data across records with duplicated locations",
      "topics": [
        "aggregateCRT"
      ]
    },
    {
      "page": "CRTanalysis",
      "title": "Analysis of cluster randomized trial with spillover",
      "topics": [
        "CRTanalysis"
      ]
    },
    {
      "page": "CRTsp",
      "title": "Create or update a '\"CRTsp\"' object",
      "topics": [
        "CRTsp"
      ]
    },
    {
      "page": "latlong_as_xy",
      "title": "Convert lat long co-ordinates to x,y",
      "topics": [
        "latlong_as_xy"
      ]
    },
    {
      "page": "plotCRT",
      "title": "Graphical displays of the geography of a CRT",
      "topics": [
        "plotCRT"
      ]
    },
    {
      "page": "randomizeCRT",
      "title": "Randomize a two-armed cluster trial",
      "topics": [
        "randomizeCRT"
      ]
    },
    {
      "page": "readdata",
      "title": "Read example dataset",
      "topics": [
        "readdata"
      ]
    },
    {
      "page": "simulateCRT",
      "title": "Simulation of cluster randomized trial with spillover",
      "topics": [
        "simulateCRT"
      ]
    },
    {
      "page": "specify_buffer",
      "title": "Specification of buffer zone in a cluster randomized trial",
      "topics": [
        "specify_buffer"
      ]
    },
    {
      "page": "specify_clusters",
      "title": "Assign locations to clusters in a CRT",
      "topics": [
        "specify_clusters"
      ]
    },
    {
      "page": "summary.CRTanalysis",
      "title": "Summary of the results of a statistical analysis of a CRT",
      "topics": [
        "summary.CRTanalysis"
      ]
    }
  ],
  "_readme": "https://github.com/thomasasmith/crtspat/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "boot",
    "callr",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "DBI",
    "deldir",
    "desc",
    "distributional",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "gee",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "OOR",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "polyclip",
    "posterior",
    "processx",
    "proxy",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstan",
    "s2",
    "S7",
    "scales",
    "sf",
    "sp",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.univar",
    "spatstat.utils",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "TSP",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "Usecase4.Rmd",
      "filename": "Usecase4.html",
      "title": "Use Case 04: Estimation of optimal cluster size for a trial with pre-determined buffer width",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Conclusions"
      ],
      "created": "2023-03-21 16:46:33",
      "modified": "2026-01-20 19:58:07",
      "commits": 21
    },
    {
      "source": "Usecase5.Rmd",
      "filename": "Usecase5.html",
      "title": "Use Case 05: Analysis of trials (including methods for analysing spillover)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Statistical Methods",
        "Assessing model fit",
        "Spillover",
        "Models that do not consider spillover",
        "Spillover as a function of distance",
        "Spillover as a function of surround",
        "Geostatistical models and mapping results"
      ],
      "created": "2023-03-29 16:18:34",
      "modified": "2026-01-20 19:58:07",
      "commits": 29
    },
    {
      "source": "Usecase6.Rmd",
      "filename": "Usecase6.html",
      "title": "Use Case 06: Thematic mapping of the geography of a CRT",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Conclusions"
      ],
      "created": "2023-04-02 14:38:25",
      "modified": "2026-01-20 19:58:07",
      "commits": 23
    },
    {
      "source": "Usecase7.Rmd",
      "filename": "Usecase7.html",
      "title": "Use Case 07: Power and sample size calculations allowing for spillover",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Analysis by simulated true efficacy",
        "Analysis by simulated spillover interval"
      ],
      "created": "2023-03-29 16:18:34",
      "modified": "2025-01-26 08:44:45",
      "commits": 16
    },
    {
      "source": "Usecase8.Rmd",
      "filename": "Usecase8.html",
      "title": "Use Case 08: Eggs - to fry or scramble?",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Analysis"
      ],
      "created": "2023-05-14 19:45:33",
      "modified": "2025-01-30 18:52:49",
      "commits": 14
    },
    {
      "source": "Usecase9.Rmd",
      "filename": "Usecase9.html",
      "title": "Use Case 09: Preparation of datasets for CRTspat",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-04-02 14:38:25",
      "modified": "2023-10-15 18:09:14",
      "commits": 7
    },
    {
      "source": "Usecase10.Rmd",
      "filename": "Usecase10.html",
      "title": "Use Case 10: Power sample size and bias calculations using a diffusion model for spillover",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-01-20 14:18:08",
      "modified": "2026-01-20 14:18:08",
      "commits": 1
    }
  ],
  "_score": 6.035429738184549,
  "_indexed": true,
  "_nocasepkg": "crtspat",
  "_universes": [
    "thomasasmith"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-22T05:48:16.000Z",
      "distro": "noble",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "51d2a1053ac48235a8d89323680009b62e527389f9419f32a35f7bc1068bd9e3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-05-22T05:48:14.000Z",
      "distro": "noble",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "738c32f063cc75d53a28002381078d634c5bcac7486983a46965758aa84341be",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-22T05:51:52.000Z",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "4ad6d069ee3840459364b5107216d6638007b55b3f7e909a83e03425a28cad0b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-05-22T05:49:50.000Z",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "98151c7523065d06c7b132b0bfa56011f6969a7e3a738fcc7030b928dca9088a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-05-22T05:48:15.000Z",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "8338c8e4e1801eee1b6c5305083ccfe95349928ff5485c01f2502b86007ebaef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-22T05:46:52.000Z",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "9ef978470fd74038791ad1b801d677e2c63b5ebbded72c79b2b182333c45d8a5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-22T05:47:26.000Z",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "eec314b60d6b2a7a8c36a0f444a5510f61fe6d6e76fa078ba002253045f83bc0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-05-22T05:46:50.000Z",
      "commit": "22478b3cd130c0a9252922eaca7a5e8d2709625a",
      "fileid": "c478c02ed515a58b88e81c916cb9f41cb653f1e385e3d3d8ffecf6d06d9b6091",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thomasasmith/actions/runs/26219801745"
    }
  ]
}