{
  "_id": "6a49072db5e98c4082a06b77",
  "Package": "recmap",
  "Type": "Package",
  "Title": "Compute the Rectangular Statistical Cartogram",
  "Version": "1.0.21",
  "Authors@R": "person(\"Christian\", \"Panse\",\nemail = \"Christian.Panse@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1975-3064\"))",
  "Maintainer": "Christian Panse <Christian.Panse@gmail.com>",
  "Description": "Implements the RecMap MP2 construction heuristic\n(<doi:10.1109/INFVIS.2004.57>). This algorithm draws maps\naccording to a given statistical value (e.g., election results,\npopulation, or epidemiological data). The basic idea of the\nRecMap algorithm is that each map region (e.g., a country) is\nrepresented by a rectangle whose area reflects the provided\nstatistical value, thereby maintaining zero cartographic error.\nComputationally intensive tasks are implemented in C++. The\nincluded vignette documents usage of the recmap algorithm.",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.2",
  "Repository": "https://cpanse.r-universe.dev",
  "Date/Publication": "2026-04-02 19:41:26 UTC",
  "RemoteUrl": "https://github.com/cpanse/recmap",
  "RemoteRef": "HEAD",
  "RemoteSha": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
  "Packaged": {
    "Date": "2026-07-04 13:07:40 UTC",
    "User": "root"
  },
  "Author": "Christian Panse [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1975-3064>)",
  "_user": "cpanse",
  "_type": "src",
  "_file": "recmap_1.0.21.tar.gz",
  "_fileid": "https://r2.ropensci.org/22340ee5194b8af48f889986b51fea8470d6902700bbad1664b54f37a1caec5a",
  "_filesize": 1393170,
  "_sha256": "22340ee5194b8af48f889986b51fea8470d6902700bbad1664b54f37a1caec5a",
  "_expires": "2026-10-12T13:14:20.000Z",
  "_created": "2026-07-04T13:07:40.000Z",
  "_published": "2026-07-04T13:14:21.772Z",
  "_jobs": [
    {
      "job": 85134750125,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8081991774"
    },
    {
      "job": 85134750102,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8081993727"
    },
    {
      "job": 85134750086,
      "time": 147,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8081992390"
    },
    {
      "job": 85134750101,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081995024"
    },
    {
      "job": 85134750160,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8081991253"
    },
    {
      "job": 85134750162,
      "time": 353,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8082012043"
    },
    {
      "job": 85134750158,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081993349"
    },
    {
      "job": 85134750161,
      "time": 254,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082001765"
    },
    {
      "job": 85134532977,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081975378"
    },
    {
      "job": 85134750092,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8081991542"
    },
    {
      "job": 85134750153,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8081991669"
    },
    {
      "job": 85134750159,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8081988832"
    },
    {
      "job": 85134750103,
      "time": 125,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081989553"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210",
  "_status": "success",
  "_upstream": "https://github.com/cpanse/recmap",
  "_commit": {
    "id": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
    "author": "Christian Panse <cp@fgcz.ethz.ch>",
    "committer": "Christian Panse <cp@fgcz.ethz.ch>",
    "message": "merged\n",
    "time": 1775158886
  },
  "_maintainer": {
    "name": "Christian Panse",
    "email": "christian.panse@gmail.com",
    "login": "cpanse",
    "mastodon": "@hb9feb@fosstodon.org",
    "linkedin": "in/cpanse",
    "orcid": "0000-0003-1975-3064",
    "description": "proteome informatics; ms comp; visualization; maps; code; reproducible research\n@hb9feb@fosstodon.org",
    "uuid": 4901987
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "GA",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0",
      "role": "Depends"
    },
    {
      "package": "sp",
      "version": ">= 1.3",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0",
      "role": "LinkingTo"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tufte",
      "role": "Suggests"
    }
  ],
  "_owner": "cpanse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "cartogram",
    "demographics",
    "genetic-algorithm",
    "geovisualization",
    "graph-drawing",
    "spatial",
    "spatial-data-analysis",
    "value-by-area-maps",
    "cpp"
  ],
  "_stars": 23,
  "_contributors": [
    {
      "user": "cpanse",
      "count": 594,
      "uuid": 4901987
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 4901987,
    "type": "user",
    "name": "Christian Panse",
    "followers": 51,
    "description": "proteome informatics; ms comp; visualization; maps; code; reproducible research\r\n@hb9feb@fosstodon.org"
  },
  "_downloads": {
    "count": 717,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/recmap"
  },
  "_devurl": "https://github.com/cpanse/recmap",
  "_searchresults": 33,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/recmap.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cpanse/recmap",
  "_realowner": "cpanse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2016-05-02"
    },
    {
      "version": "0.3.0",
      "date": "2016-05-30"
    },
    {
      "version": "0.4.0",
      "date": "2016-06-12"
    },
    {
      "version": "0.5.0",
      "date": "2016-07-01"
    },
    {
      "version": "0.5.3",
      "date": "2016-07-13"
    },
    {
      "version": "0.5.4",
      "date": "2016-07-24"
    },
    {
      "version": "0.5.16",
      "date": "2017-01-15"
    },
    {
      "version": "0.5.20",
      "date": "2017-04-10"
    },
    {
      "version": "0.5.24",
      "date": "2017-09-18"
    },
    {
      "version": "0.5.26",
      "date": "2018-02-26"
    },
    {
      "version": "0.5.31",
      "date": "2018-03-28"
    },
    {
      "version": "0.5.33",
      "date": "2018-04-30"
    },
    {
      "version": "0.5.37",
      "date": "2018-08-28"
    },
    {
      "version": "1.0.0",
      "date": "2018-09-16"
    },
    {
      "version": "1.0.1",
      "date": "2019-03-08"
    },
    {
      "version": "1.0.5",
      "date": "2019-06-03"
    },
    {
      "version": "1.0.7",
      "date": "2020-02-20"
    },
    {
      "version": "1.0.9",
      "date": "2021-05-10"
    },
    {
      "version": "1.0.11",
      "date": "2021-09-23"
    },
    {
      "version": "1.0.14",
      "date": "2023-04-23"
    },
    {
      "version": "1.0.15",
      "date": "2023-04-30"
    },
    {
      "version": "1.0.16",
      "date": "2023-09-16"
    },
    {
      "version": "1.0.17",
      "date": "2023-09-24"
    },
    {
      "version": "1.0.20",
      "date": "2025-08-19"
    }
  ],
  "_exports": [
    ".get_7triangles",
    ".getUS_map",
    "all.equal.recmap",
    "as.recmap",
    "as.SpatialPolygonsDataFrame",
    "checkerboard",
    "is.recmap",
    "plot.recmap",
    "plot.recmapGA",
    "plot.recmapGRASP",
    "recmap",
    "recmapGA",
    "recmapGRASP",
    "summary.recmap",
    "summary.recmapGA"
  ],
  "_datasets": [
    {
      "name": "cmp_GA_GRASP",
      "title": "jss2711 data",
      "object": "jss2711",
      "file": "jss2711.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "mbb_check",
      "title": "jss2711 data",
      "object": "jss2711",
      "file": "jss2711.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "number",
        "algorithm",
        "size",
        "time_in_secs",
        "machine",
        "sysname"
      ],
      "rows": 11400,
      "table": true,
      "tojson": true
    },
    {
      "name": "SBB",
      "title": "jss2711 data",
      "object": "jss2711",
      "file": "jss2711.RData",
      "class": [
        "recmapGA",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "Switzerland",
      "title": "jss2711 data",
      "object": "jss2711",
      "file": "jss2711.RData",
      "class": [
        "recmapGA",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "UK",
      "title": "jss2711 data",
      "object": "jss2711",
      "file": "jss2711.RData",
      "class": [
        "recmapGA",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "dot-draw_recmap_us_state_ev",
      "title": "this function reproduces the original election cartogram from 2004 using the cartogram output from the 2003 implementation.",
      "topics": [
        ".draw_recmap_us_state_ev"
      ]
    },
    {
      "page": "dot-get_7triangles",
      "title": "construct polygon mesh displayed in Figure 4a in",
      "topics": [
        ".get_7triangles"
      ]
    },
    {
      "page": "dot-getUS_map",
      "title": "return a overlapping minimal bounding boxes (MBB) of the U.S. using datasets.",
      "topics": [
        ".getUS_map"
      ]
    },
    {
      "page": "as.recmap.SpatialPolygonsDataFrame",
      "title": "Convert a SpatialPolygonsDataFrame Object to recmap Object",
      "topics": [
        "as.recmap",
        "as.recmap.SpatialPolygonsDataFrame"
      ]
    },
    {
      "page": "as.SpatialPolygonsDataFrame.recmap",
      "title": "Convert a recmap Object to SpatialPolygonsDataFrame Object.",
      "topics": [
        "as.SpatialPolygonsDataFrame",
        "as.SpatialPolygonsDataFrame.recmap"
      ]
    },
    {
      "page": "checkerboard",
      "title": "Create a Checkboard",
      "topics": [
        "checkerboard"
      ]
    },
    {
      "page": "is.recmap",
      "title": "Is an Object from a Class recmap?",
      "topics": [
        "is.recmap"
      ]
    },
    {
      "page": "jss2711",
      "title": "jss2711 data",
      "topics": [
        "cmp_GA_GRASP",
        "jss2711",
        "mbb_check",
        "SBB",
        "Switzerland",
        "UK"
      ]
    },
    {
      "page": "plot.recmap",
      "title": "Plot a recmap object.",
      "topics": [
        "plot.recmap",
        "plot.recmapGA",
        "plot.recmapGRASP"
      ]
    },
    {
      "page": "recmap",
      "title": "Compute a Rectangular Statistical Cartogram",
      "topics": [
        "all.equal.recmap",
        "cartogram",
        "RecMap",
        "recmap"
      ]
    },
    {
      "page": "recmapGA",
      "title": "Genetic Algorithm Wrapper Function for recmap",
      "topics": [
        "recmapGA"
      ]
    },
    {
      "page": "recmapGRASP",
      "title": "Greedy Randomized Adaptive Search Procedure Wrapper Function for recmap",
      "topics": [
        "recmapGRASP"
      ]
    },
    {
      "page": "summary.recmap",
      "title": "Summary for recmap object",
      "topics": [
        "summary.recmap",
        "summary.recmapGA"
      ]
    }
  ],
  "_readme": "https://github.com/cpanse/recmap/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "crayon",
    "foreach",
    "GA",
    "iterators",
    "lattice",
    "Rcpp",
    "RcppArmadillo",
    "sp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "recmap.Rmd",
      "filename": "recmap.html",
      "title": "Draw your own Rectangular Statistical Cartogram with recmap",
      "author": "Christian Panse",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The Usage",
        "Input - using the U.S. state Facts and Figures Dataset",
        "Compute Pseudo Dual Graph (PD)",
        "Apply a Metaheuristic",
        "Objective Functions",
        "Output",
        "Application",
        "Rectangular Map Approximation",
        "state.x77[, 'Population']",
        "state.x77[, 'Income']",
        "state.x77[, 'Frost']",
        "Synthetic input maps - checkerboard",
        "History",
        "Session Info",
        "References"
      ],
      "created": "2016-04-16 15:57:19",
      "modified": "2023-09-21 19:51:57",
      "commits": 57
    }
  ],
  "_score": 5.88024177589548,
  "_indexed": true,
  "_nocasepkg": "recmap",
  "_universes": [
    "cpanse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.21",
      "date": "2026-07-04T13:10:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/47d04a0a3a0c21be16651ff1c8bfd67d575ed4473fb90c1b721d1b97c9812949",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.21",
      "date": "2026-07-04T13:09:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/fc86bc84c269e1c4b416d1e9ed46a736c3a888e128d8c1e0947fa78e24abc8e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.21",
      "date": "2026-07-04T13:10:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/c91b3768abfa0db0702a63110ea7045037e28f645b8fb28855cdc4dce05599c6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.21",
      "date": "2026-07-04T13:10:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/40009ac62027dcfe7b5a7b56683deacb008043100944de86823cd9fd59d9b360",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.21",
      "date": "2026-07-04T13:09:51.000Z",
      "arch": "aarch64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/c8ad359b21057b3b738b0a078a9cb1be6f12cddd2108c1d09b6fb685579dedd8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.21",
      "date": "2026-07-04T13:12:12.000Z",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/fd85badf8ec21a7264dc2d71e576ae3c2998ed5df0e35bd5cf1502c0bf61a0ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.21",
      "date": "2026-07-04T13:09:48.000Z",
      "arch": "aarch64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/e64daff93e7f9b17d9ab79ad7fd1c2e10f9f3908498c222d878d308a09c5a87d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.21",
      "date": "2026-07-04T13:10:43.000Z",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/4f517787bdd156e177cc42a3c17e8ece9b403dfd74c98c3673eac04a249640a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.21",
      "date": "2026-07-04T13:10:21.000Z",
      "arch": "emscripten",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/acae825b0eb3ea0410829cab4b15230887d8460ef57a0638170b883cdd6904de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.21",
      "date": "2026-07-04T13:09:21.000Z",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/b2d310824ba72212ac3ce44cda0f9158d2d8a0714c02dfac8e416aaada59594f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.21",
      "date": "2026-07-04T13:08:52.000Z",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/af4c4ac7243b88d1bd06c3826f7e26931dc72006b4eb4b002d65891fcc7e8778",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.21",
      "date": "2026-07-04T13:08:54.000Z",
      "arch": "x86_64",
      "commit": "da5a5cf5a425b8245cf51e021fab95691edddeb0",
      "fileid": "https://r2.ropensci.org/caed4a56e8b793c1f2913918bca627f675e06fc9e6f1fbd6dda4461fd6ebf532",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cpanse/actions/runs/28707112210"
    }
  ]
}