{
  "_id": "6a1293d4acfb0bcc41d0bbe5",
  "Package": "maxcovr",
  "Type": "Package",
  "Title": "A Set of Tools For Solving The Maximal Covering Location Problem",
  "Version": "0.1.3.9200",
  "Authors@R": "c(\nperson(given = \"Nicholas\",\nfamily = \"Tierney\",\nemail = \"nicholas.tierney@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"https://orcid.org/0000-0003-1460-8722\")),\nperson(given = \"Mark\",\nfamily = \"Padgham\",\nemail = \"mark.padgham@email.com\",\nrole = \"aut\")\n)",
  "Maintainer": "Nicholas Tierney <nicholas.tierney@gmail.com>",
  "Description": "Solving the \"maximal covering location problem\" as\ndescribed by Church can be difficult for users not familiar\nwith linear programming. maxcovr provides functions to make it\neasy to solve this problem, and tools to calculate facility\ncoverage.",
  "License": "GPL-3",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "ByteCompile": "TRUE",
  "URL": "https://github.com/njtierney/maxcovr,\nhttps://njtierney.github.io/maxcovr/,\nhttps://maxcovr.njtierney.com/",
  "BugReports": "https://github.com/njtierney/maxcovr/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libx11-dev",
  "Repository": "https://njtierney.r-universe.dev",
  "Date/Publication": "2024-11-26 02:23:53 UTC",
  "RemoteUrl": "https://github.com/njtierney/maxcovr",
  "RemoteRef": "HEAD",
  "RemoteSha": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 05:55:50 UTC",
    "User": "root"
  },
  "Author": "Nicholas Tierney [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1460-8722>),\nMark Padgham [aut]",
  "MD5sum": "d88885d1f7ac97ecc5e65aaddfe67762",
  "_user": "njtierney",
  "_type": "src",
  "_file": "maxcovr_0.1.3.9200.tar.gz",
  "_fileid": "8e391b975380b5518792f434587fdecd65c03a4dbf73b2fc1e1c3c67b44a3216",
  "_filesize": 724921,
  "_sha256": "8e391b975380b5518792f434587fdecd65c03a4dbf73b2fc1e1c3c67b44a3216",
  "_created": "2026-05-24T05:55:50.000Z",
  "_published": "2026-05-24T05:59:48.335Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77575592921,
      "time": 160,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182687018"
    },
    {
      "job": 77575592920,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182687467"
    },
    {
      "job": 77575592913,
      "time": 142,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182685461"
    },
    {
      "job": 77575592917,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182687108"
    },
    {
      "job": 77575592957,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182682682"
    },
    {
      "job": 77575592923,
      "time": 196,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182690715"
    },
    {
      "job": 77575592930,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182681541"
    },
    {
      "job": 77575592939,
      "time": 199,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182691034"
    },
    {
      "job": 77575392383,
      "time": 228,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182670294"
    },
    {
      "job": 77575592904,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182684279"
    },
    {
      "job": 77575592938,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7182686346"
    },
    {
      "job": 77575592932,
      "time": 140,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7182685131"
    },
    {
      "job": 77575592925,
      "time": 172,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7182688312"
    }
  ],
  "_buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/njtierney/maxcovr",
  "_commit": {
    "id": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
    "author": "Nicholas Tierney <njtierney@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #105 from njtierney/dependabot/npm_and_yarn/docs/articles/intro_to_maxcovr_files/leaflet-binding-2.0.1/lib/leaflet-omnivore/st-1.2.2\n\nBump st from 1.1.0 to 1.2.2 in /docs/articles/intro_to_maxcovr_files/leaflet-binding-2.0.1/lib/leaflet-omnivore",
    "time": 1732587833
  },
  "_maintainer": {
    "name": "Nicholas Tierney",
    "email": "nicholas.tierney@gmail.com",
    "login": "njtierney",
    "mastodon": "@njtierney@aus.social",
    "bluesky": "@njtierney.bsky.social",
    "orcid": "0000-0003-1460-8722",
    "description": "|| Freelance Statistician and Research Software Engineer | PhD Statistics | Hiker | Runner | Coffee Geek ||",
    "uuid": 6488485
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "lpSolve",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rglpk",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "gurobi",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "modelr",
      "role": "Suggests"
    },
    {
      "package": "leaflet",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "njtierney",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "distance",
    "linear-programming",
    "cpp"
  ],
  "_stars": 46,
  "_contributors": [
    {
      "user": "njtierney",
      "count": 315,
      "uuid": 6488485
    },
    {
      "user": "mpadge",
      "count": 4,
      "uuid": 6697851
    },
    {
      "user": "rafapereirabr",
      "count": 2,
      "uuid": 7448421
    }
  ],
  "_userbio": {
    "uuid": 6488485,
    "type": "user",
    "name": "Nicholas Tierney",
    "description": "|| Freelance Statistician and Research Software Engineer | PhD Statistics | Hiker | Runner | Coffee Geek ||"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/maxcovr"
  },
  "_devurl": "https://github.com/njtierney/maxcovr",
  "_pkgdown": "https://njtierney.github.io/maxcovr/",
  "_searchresults": 56,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/maxcovr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "augment_facility_relocated",
    "augment_user_tested",
    "binary_matrix_cpp",
    "coverage",
    "deg2rad_cpp",
    "distance_matrix_cpp",
    "facility_user_dist",
    "facility_user_indic",
    "is.maxcovr",
    "is.maxcovr_relocation",
    "max_coverage",
    "max_coverage_relocation",
    "n_installed",
    "n_relocated",
    "nearest",
    "nearest_facility_dist",
    "spherical_distance",
    "spherical_distance_cpp",
    "spherical_distance_cpp_vec",
    "summarise_coverage",
    "summarise_relocated_dist",
    "summarise_user_cov",
    "summary_mc_cv",
    "summary_mc_cv_relocate"
  ],
  "_datasets": [
    {
      "name": "york",
      "title": "York Listed Buildings.",
      "object": "york",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "object_id",
        "desig_id",
        "pref_ref",
        "name",
        "grade"
      ],
      "rows": 2944,
      "table": true,
      "tojson": true
    },
    {
      "name": "york_crime",
      "title": "York Crime Locations.",
      "object": "york_crime",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "category",
        "persistent_id",
        "date",
        "lat",
        "long",
        "street_id",
        "street_name",
        "context",
        "id",
        "location_type",
        "location_subtype",
        "outcome_status"
      ],
      "rows": 1814,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "augment_facility_relocated",
      "title": "Find distance from relocated and proposed new sites",
      "topics": [
        "augment_facility_relocated"
      ]
    },
    {
      "page": "augment_user",
      "title": "Augment users data; add useful information",
      "topics": [
        "augment_user"
      ]
    },
    {
      "page": "augment_user_tested",
      "title": "Nearest wrapper",
      "topics": [
        "augment_user_tested"
      ]
    },
    {
      "page": "binary_matrix_cpp",
      "title": "Create a binary matrix TRUE if distance satisfies a condition",
      "topics": [
        "binary_matrix_cpp"
      ]
    },
    {
      "page": "coverage",
      "title": "Create a summary of the coverage between two dataframes",
      "topics": [
        "coverage"
      ]
    },
    {
      "page": "deg2rad_cpp",
      "title": "Convert degrees to radians",
      "topics": [
        "deg2rad_cpp"
      ]
    },
    {
      "page": "distance_matrix_cpp",
      "title": "Create a matrix of distances between two areas",
      "topics": [
        "distance_matrix_cpp"
      ]
    },
    {
      "page": "extract_mc_results",
      "title": "(Internal) Summarise maxcovr model using facility and user information",
      "topics": [
        "extract_mc_results"
      ]
    },
    {
      "page": "extract_mc_results_relocation",
      "title": "(Internal) Summarise maxcovr relocation model with facility and user info",
      "topics": [
        "extract_mc_results_relocation"
      ]
    },
    {
      "page": "facility_user_dist",
      "title": "facility_user_dist",
      "topics": [
        "facility_user_dist"
      ]
    },
    {
      "page": "facility_user_indic",
      "title": "facility_user_indic",
      "topics": [
        "facility_user_indic"
      ]
    },
    {
      "page": "is.maxcovr",
      "title": "Test if the object is a maxcovr object",
      "topics": [
        "is.maxcovr"
      ]
    },
    {
      "page": "is.maxcovr_relocation",
      "title": "Test if the object is a maxcovr_relocation object",
      "topics": [
        "is.maxcovr_relocation"
      ]
    },
    {
      "page": "max_coverage",
      "title": "Solve the Maximal Covering Location Problem",
      "topics": [
        "max_coverage"
      ]
    },
    {
      "page": "max_coverage_relocation",
      "title": "Maximum Coverage when considering relocation",
      "topics": [
        "max_coverage_relocation"
      ]
    },
    {
      "page": "n_installed",
      "title": "Extract the number of facilities installed",
      "topics": [
        "n_installed"
      ]
    },
    {
      "page": "n_relocated",
      "title": "Extract the number of facilities relocated.",
      "topics": [
        "n_relocated"
      ]
    },
    {
      "page": "nearest",
      "title": "Find the nearest lat/long to another lat/long",
      "topics": [
        "nearest"
      ]
    },
    {
      "page": "nearest_facility_dist",
      "title": "nearest facility + distance to a user",
      "topics": [
        "nearest_facility_dist"
      ]
    },
    {
      "page": "spherical_distance",
      "title": "Calculate the distance between two locations",
      "topics": [
        "spherical_distance"
      ]
    },
    {
      "page": "spherical_distance_cpp",
      "title": "Calculate distance using haversines formula",
      "topics": [
        "spherical_distance_cpp"
      ]
    },
    {
      "page": "spherical_distance_cpp_vec",
      "title": "Calculate (vectorized) distance using haversines formula",
      "topics": [
        "spherical_distance_cpp_vec"
      ]
    },
    {
      "page": "summarise_coverage",
      "title": "Summarise coverage",
      "topics": [
        "summarise_coverage"
      ]
    },
    {
      "page": "summarise_relocated_dist",
      "title": "Find the average distance from facilities relocated to their final place",
      "topics": [
        "summarise_relocated_dist"
      ]
    },
    {
      "page": "summarise_user_cov",
      "title": "Summarise the coverage for users",
      "topics": [
        "summarise_user_cov"
      ]
    },
    {
      "page": "summary_mc_cv",
      "title": "Summary for max_coverage cross validation",
      "topics": [
        "summary_mc_cv"
      ]
    },
    {
      "page": "summary_mc_cv_relocate",
      "title": "Summary for max_coverage cross validation for relocation models",
      "topics": [
        "summary_mc_cv_relocate"
      ]
    },
    {
      "page": "york",
      "title": "York Listed Buildings.",
      "topics": [
        "york"
      ]
    },
    {
      "page": "york_crime",
      "title": "York Crime Locations.",
      "topics": [
        "york_crime"
      ]
    }
  ],
  "_readme": "https://github.com/njtierney/maxcovr/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "Rglpk",
    "rlang",
    "slam",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "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": "cross_validation_with_maxcovr.Rmd",
      "filename": "cross_validation_with_maxcovr.html",
      "title": "Using Cross Validation with maxcovr",
      "author": "Nicholas Tierney",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Performing cross validation on max_coverage"
      ],
      "created": "2016-12-07 02:37:47",
      "modified": "2018-07-20 06:43:53",
      "commits": 5
    },
    {
      "source": "using_max_coverage_relocation.Rmd",
      "filename": "using_max_coverage_relocation.html",
      "title": "Using max_coverage_relocation",
      "author": "Nicholas Tierney",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-01-18 05:23:34",
      "modified": "2018-07-20 06:43:53",
      "commits": 6
    },
    {
      "source": "intro_to_maxcovr.Rmd",
      "filename": "intro_to_maxcovr.html",
      "title": "Using maxcovr",
      "author": "Nicholas Tierney",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The moviation: Why maxcovr",
        "The problem",
        "using max_coverage",
        "Interpreting results",
        "Other graphics options",
        "Applying this to the coverage data",
        "Future work"
      ],
      "created": "2016-12-03 12:15:29",
      "modified": "2018-07-20 06:43:53",
      "commits": 8
    }
  ],
  "_score": 5.888067113407437,
  "_indexed": true,
  "_nocasepkg": "maxcovr",
  "_universes": [
    "njtierney"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:27.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "59f13346887445362e4e32df4fa632c41b28b45e315c50a7724743e20aeb52a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "9a1c20890ea2ab64dd22663fe07b58aa633c57674867c6cc1d5856358cbc8a6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "b5ac7a0ba546185d6bc253e74df633b2abf75c93d17cb3404362c2dcb1b40819",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "c21ed85c027b2ff29bc7e01541ce849d294f6ea328208a143078ffe1f06a3aef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:57:47.000Z",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "8247a6fcc5458843ba661855706267b49281f716a13aa51f11f548e7921169e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:43.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "0eb02d50a41035274ef37c90809ab80e0c1b4002798e358970036e75938ce5cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:57:38.000Z",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "bfd3fd0f2dd47ccfaa8e9397c3295a5ab7c2b55d737fdcb54ca55cd013204a8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:37.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "4d24f18f74c9f43370fc6213e9a0430696ce81645bf0e2ad1b4e9c9a29fe7212",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:19.000Z",
      "arch": "emscripten",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "d9cf95420b0d9ec0a8a36bd2948823473bad8df8f0fcc5199bccf9527a3ffa83",
      "status": "success",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:57:39.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "3ca5baaa65a5ce3bfe545ad7df4041f83134d4e1bfaaab2e48741e8b34129589",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:57:29.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "e034278a75ed23e21f6da84a8aaf37f67e257f821fce107f9db31bd53b7a6af6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3.9200",
      "date": "2026-05-24T05:58:09.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "58b8b4707bdce206b7030d57f0d431650e8ee3ea22b3e71de6c9755dd8aef538",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/26353353620"
    }
  ]
}