{
  "_id": "6a498a806d67900babdfa1bf",
  "Package": "r2r",
  "Title": "R-Object to R-Object Hash Maps",
  "Version": "0.1.2",
  "Authors@R": "person(given = \"Valerio\",\nfamily = \"Gherardi\",\nrole = c(\"aut\", \"cre\"),\nemail = \"vgherard840@gmail.com\",\ncomment = c(ORCID = \"0000-0002-8215-3013\"))",
  "Description": "Implementation of hash tables (hash sets and hash maps) in\nR, featuring arbitrary R objects as keys, arbitrary hash and\nkey-comparison functions, and customizable behaviour upon\nqueries of missing keys.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "URL": "https://github.com/vgherard/r2r",
  "BugReports": "https://github.com/vgherard/r2r/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://vgherard.r-universe.dev",
  "Date/Publication": "2024-11-08 14:18:02 UTC",
  "RemoteUrl": "https://github.com/vgherard/r2r",
  "RemoteRef": "v0.1.2",
  "RemoteSha": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-22 08:29:46 UTC",
    "User": "root"
  },
  "Author": "Valerio Gherardi [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8215-3013>)",
  "Maintainer": "Valerio Gherardi <vgherard840@gmail.com>",
  "_user": "vgherard",
  "_type": "src",
  "_file": "r2r_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/cdf863332dc9f9bb685b96926066081b73c5c4433fcf4661ee74f7fe03e5d209",
  "_filesize": 147258,
  "_sha256": "cdf863332dc9f9bb685b96926066081b73c5c4433fcf4661ee74f7fe03e5d209",
  "_expires": "2026-10-12T22:34:39.000Z",
  "_created": "2026-06-22T08:29:46.000Z",
  "_published": "2026-07-04T22:34:40.892Z",
  "_jobs": [
    {
      "job": 85172554586,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7787060943"
    },
    {
      "job": 85172554507,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7787059106"
    },
    {
      "job": 85172554490,
      "time": 213,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7787066086"
    },
    {
      "job": 85172554473,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7787045055"
    },
    {
      "job": 85172554474,
      "time": 326,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7786999826"
    },
    {
      "job": 85172554479,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7787038096"
    },
    {
      "job": 85172554570,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7787028704"
    },
    {
      "job": 85172554632,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7787032451"
    },
    {
      "job": 85172554605,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7787030812"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568",
  "_status": "success",
  "_upstream": "https://github.com/vgherard/r2r",
  "_commit": {
    "id": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
    "author": "Valerio Gherardi <vgherard840@gmail.com>",
    "committer": "Valerio Gherardi <vgherard840@gmail.com>",
    "message": "Update CRAN comments for v0.1.2 submission\n",
    "time": 1731075482
  },
  "_maintainer": {
    "name": "Valerio Gherardi",
    "email": "vgherard840@gmail.com",
    "login": "vgherard",
    "linkedin": "in/vgherard",
    "orcid": "0000-0002-8215-3013",
    "twitter": "@ValerioGherardi",
    "description": "|physicist>   +   |data scientist>",
    "uuid": 62836440
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    },
    {
      "package": "hash",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "vgherard",
  "_selfowned": true,
  "_usedby": 32,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "data-structures",
    "hashtable"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "vgherard",
      "count": 10,
      "uuid": 62836440
    }
  ],
  "_userbio": {
    "uuid": 62836440,
    "type": "user",
    "name": "Valerio Gherardi",
    "followers": 14,
    "description": "|physicist>   +   |data scientist>"
  },
  "_downloads": {
    "count": 998,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/r2r"
  },
  "_devurl": "https://github.com/vgherard/r2r",
  "_searchresults": 109,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/r2r.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/vgherard/r2r",
  "_realowner": "vgherard",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2021-07-06"
    },
    {
      "version": "0.1.2",
      "date": "2024-11-09"
    }
  ],
  "_exports": [
    "%has_key%",
    "compare_fn",
    "default",
    "default_hash_fn",
    "default<-",
    "delete",
    "has_key",
    "hash_fn",
    "hashmap",
    "hashset",
    "insert",
    "keys",
    "on_missing_key",
    "on_missing_key<-",
    "query",
    "values"
  ],
  "_help": [
    {
      "page": "compare_fn",
      "title": "Get key comparison function of an hash table",
      "topics": [
        "compare_fn",
        "compare_fn.r2r_hashtable"
      ]
    },
    {
      "page": "default",
      "title": "Default 'hashmap' values",
      "topics": [
        "default",
        "default.r2r_hashmap",
        "default<-",
        "default<-.r2r_hashmap"
      ]
    },
    {
      "page": "default_hash_fn",
      "title": "String hashes for arbitrary R objects",
      "topics": [
        "default_hash_fn"
      ]
    },
    {
      "page": "delete",
      "title": "Delete keys or key/value pairs from an hash table.",
      "topics": [
        "delete",
        "delete.r2r_hashmap",
        "delete.r2r_hashset"
      ]
    },
    {
      "page": "has_key",
      "title": "Key existence in hash tables",
      "topics": [
        "%has_key%",
        "has_key",
        "has_key.r2r_hashmap",
        "has_key.r2r_hashset"
      ]
    },
    {
      "page": "hash_fn",
      "title": "Get hash function of an hash table",
      "topics": [
        "hash_fn",
        "hash_fn.r2r_hashtable"
      ]
    },
    {
      "page": "hashtable",
      "title": "Hash maps and sets",
      "topics": [
        "hashmap",
        "hashset",
        "hashtable"
      ]
    },
    {
      "page": "hashtable_methods",
      "title": "Methods for S3 classes 'hashmap' and 'hashset'",
      "topics": [
        "hashtable_methods"
      ]
    },
    {
      "page": "insert",
      "title": "Insert keys or key/value pairs into an hash table.",
      "topics": [
        "insert",
        "insert.r2r_hashmap",
        "insert.r2r_hashset"
      ]
    },
    {
      "page": "keys",
      "title": "List all keys from an hash table",
      "topics": [
        "keys",
        "keys.r2r_hashtable"
      ]
    },
    {
      "page": "length.r2r_hashtable",
      "title": "Size of hash tables",
      "topics": [
        "length.r2r_hashtable"
      ]
    },
    {
      "page": "on_missing_key",
      "title": "On missing key behaviour",
      "topics": [
        "on_missing_key",
        "on_missing_key.r2r_hashmap",
        "on_missing_key<-",
        "on_missing_key<-.r2r_hashmap"
      ]
    },
    {
      "page": "query",
      "title": "Query keys from an hash table.",
      "topics": [
        "query",
        "query.r2r_hashmap",
        "query.r2r_hashset"
      ]
    },
    {
      "page": "subsetting_hashtables",
      "title": "Subsetting 'hashset's and 'hashmap's",
      "topics": [
        "subsetting_hashtables",
        "[.r2r_hashmap",
        "[.r2r_hashset",
        "[<-.r2r_hashmap",
        "[<-.r2r_hashset",
        "[[.r2r_hashmap",
        "[[.r2r_hashset",
        "[[<-.r2r_hashmap",
        "[[<-.r2r_hashset"
      ]
    },
    {
      "page": "values",
      "title": "List all values from an hash map",
      "topics": [
        "values",
        "values.r2r_hashmap"
      ]
    }
  ],
  "_readme": "https://github.com/vgherard/r2r/raw/v0.1.2/README.md",
  "_rundeps": [
    "digest",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "benchmarks.Rmd",
      "filename": "benchmarks.html",
      "title": "Comparison with {hash}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Features",
        "Performance tests",
        "Key insertion",
        "Key query",
        "Key deletion",
        "Conclusions"
      ],
      "created": "2021-07-02 11:17:51",
      "modified": "2021-07-02 12:04:10",
      "commits": 3
    },
    {
      "source": "r2r.Rmd",
      "filename": "r2r.html",
      "title": "R-Object to R-Object Hash Maps",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic Manipulations",
        "Sets",
        "Key and value types",
        "Setting default values",
        "Using custom key comparison and hash functions"
      ],
      "created": "2021-07-01 15:23:59",
      "modified": "2021-07-02 11:17:51",
      "commits": 2
    }
  ],
  "_score": 7.7186677353162105,
  "_indexed": true,
  "_nocasepkg": "r2r",
  "_universes": [
    "vgherard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-22T08:32:33.000Z",
      "distro": "noble",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/445c8f2f260c4b8d1c468123d9e5e8fe29265fc6b3684267a11795051043d9d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-22T08:32:26.000Z",
      "distro": "noble",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/46fe0444e9912fd589bcc52cf6d1d5c20cf93665e3b27fe505d67ce47babbc7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-22T08:32:47.000Z",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/024d2d6b78d7bf601c6928d72c8091062846894e66598b69512eaf6f1219fb58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-22T08:31:51.000Z",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/fa7a5d15779df5e42f4f3c4d5421c1ef7fd2839148c39b049348ef53f42f237e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-22T08:31:45.000Z",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/73556dc57d522b2fe75a75a8aeef9a0b32554712f202e4dcf61598d8bcaef460",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-22T08:31:02.000Z",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/fcedce3ffd759c0c652ee66895974f40d680924a50b9cfb9324c3e0b9d666337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-22T08:31:10.000Z",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/a7a5dfb5972a353ebd31b6edfddfe1ebf2fd46daf3f89a450695f561bb745194",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-22T08:31:01.000Z",
      "commit": "5301a16e0bcfa9123e79a25f2f8f36f8e3e06a8c",
      "fileid": "https://r2.ropensci.org/8b6c6836053bb57ce6c69615144b994a1829afc14bfc6ce0bc61d6a08d97c6f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vgherard/actions/runs/27939453568"
    }
  ]
}