{
  "_id": "6a3a22e26265ec60d61ff9c0",
  "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-06-23 06:03:06 UTC",
    "User": "root"
  },
  "Author": "Nicholas Tierney [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1460-8722>),\nMark Padgham [aut]",
  "MD5sum": "fe9c4528738275b9ff2c69d49549bade",
  "_user": "njtierney",
  "_type": "src",
  "_file": "maxcovr_0.1.3.9200.tar.gz",
  "_fileid": "8a61886d252c8f30f990382abc13e193b67ad804c56c7d8b19c16a9ff3adfe31",
  "_filesize": 746784,
  "_sha256": "8a61886d252c8f30f990382abc13e193b67ad804c56c7d8b19c16a9ff3adfe31",
  "_created": "2026-06-23T06:03:06.000Z",
  "_published": "2026-06-23T06:08:33.978Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82887492439,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812726310"
    },
    {
      "job": 82887492460,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812731689"
    },
    {
      "job": 82887492487,
      "time": 144,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812727276"
    },
    {
      "job": 82887492491,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812725340"
    },
    {
      "job": 82887492473,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812713729"
    },
    {
      "job": 82887492468,
      "time": 210,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812743707"
    },
    {
      "job": 82887492479,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812716268"
    },
    {
      "job": 82887492450,
      "time": 278,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812761960"
    },
    {
      "job": 82886886668,
      "time": 267,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812688600"
    },
    {
      "job": 82887492390,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812720842"
    },
    {
      "job": 82887492433,
      "time": 168,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812732218"
    },
    {
      "job": 82887492430,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812726287"
    },
    {
      "job": 82887492442,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812727442"
    }
  ],
  "_buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875",
  "_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",
    "followers": 627,
    "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": 54,
  "_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.872272846224205,
  "_indexed": true,
  "_nocasepkg": "maxcovr",
  "_universes": [
    "njtierney"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "3fea2f29a9225ef6ceb1277fd7c50c8cd62b84762820e228b3ce34791a723db6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "ffdb8bfa21856e50b5a30abe3cba87806dea28fb05c1a999cb1b31a7138a15fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "d1efd45b67a5b3079edbc4048ac0273298e2bb5091beb91fece811b8b1e74d20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "ab26aa7cccb7f9506a744db2f400f245dc014052fb1733072007b69fa47d978d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:04:51.000Z",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "4381bff583549fbc5be815cafd98abad4a3dd8d5885a421ca58e0da4ce5c2c1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:06:22.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "8d87ed87dd8656ae4a96679bfc420a2ef5afad740586d2c20778d0c380c44355",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:04:56.000Z",
      "arch": "aarch64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "a03e72720689c304da7e78d9ecd2625a2661b71ee44478bb70c226308294ab20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:07:13.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "1cd874727638719cf01b960350ed14377e039e2edd8c4e9378e021e39a6c1d61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:31.000Z",
      "arch": "emscripten",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "f7f9e13f9d4168d0e5389ca2e5834fc0eccec2c8918cd7144f9a05ffc0d71b04",
      "status": "success",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:26.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "28fab5c6c5c15bf5a4cf85cfe7e1699fe90ef97db7a4301e3b41e97bdf512a3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:04:43.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "4d124d0770a0671e5157123476fb4117b68eaa3f6e9077cc9eda1d6c542b37b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3.9200",
      "date": "2026-06-23T06:05:08.000Z",
      "arch": "x86_64",
      "commit": "6a1b24b9dfdcdc07fb813ed28ce059746e9107fc",
      "fileid": "654946f3e9b2886ac3a06083be565deaf8a8641b9775ef847629af27fcf90e39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/njtierney/actions/runs/28005616875"
    }
  ]
}