{
  "_id": "6a2656c3794753ddbc3e42d6",
  "Package": "drhutools",
  "Type": "Package",
  "Title": "Political Science Academic Research Gears",
  "Version": "1.1.9999",
  "Authors@R": "c(\nperson(\"Yue\", \"Hu\", role = c(\"aut\", \"cre\"), email = \"yuehu@tsinghua.edu.cn\"),\nperson(\"Qian\", \"Qiu\", role = c(\"ctb\"), email = \"mathildaqiu@tsinghua.edu.cn\"),\nperson(\"Wen\", \"Deng\", role = c(\"ctb\"), email = \"dengwenjoy@outlook.com\"),\nperson(\"Bear\", \"Braumoeller\", role = c(\"ctb\"), comment = \"QCAfalsePositive functions\")\n)",
  "Maintainer": "Yue Hu <yuehu@tsinghua.edu.cn>",
  "Description": "Using these tools to simplify the research process of\npolitical science and other social sciences. The current\nversion can create folder system for academic project in\npolitical science, calculate psychological trait scores,\nvisualize experimental and spatial data, set up color-blind\npalette, and test for Type I error (false positives) in\nQualitative Comparative Analysis (QCA) for crisp-set,\nmulti-value, and fuzzy-set variants.",
  "URL": "https://www.drhuyue.site/software/drhutools/",
  "BugReports": "https://github.com/sammo3182/drhutools/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libmagick++-dev gsfonts texlive libicu-dev libpng-dev\nlibuv1-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://sammo3182.r-universe.dev",
  "Date/Publication": "2026-06-08 02:50:54 UTC",
  "RemoteUrl": "https://github.com/sammo3182/drhutools",
  "RemoteRef": "HEAD",
  "RemoteSha": "5f39f886d37ac995419e40f824c19c263f64e044",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 05:39:47 UTC",
    "User": "root"
  },
  "Author": "Yue Hu [aut, cre],\nQian Qiu [ctb],\nWen Deng [ctb],\nBear Braumoeller [ctb] (QCAfalsePositive functions)",
  "MD5sum": "1cb2483492f8b533a84258442f136770",
  "_user": "sammo3182",
  "_type": "src",
  "_file": "drhutools_1.1.9999.tar.gz",
  "_fileid": "dbdece795249833a732b3f7bd0aa0e391b02533a07b5bd23606f0d18f7b38a32",
  "_filesize": 2274591,
  "_sha256": "dbdece795249833a732b3f7bd0aa0e391b02533a07b5bd23606f0d18f7b38a32",
  "_created": "2026-06-08T05:39:47.000Z",
  "_published": "2026-06-08T05:44:35.347Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80029553774,
      "time": 250,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7472453202"
    },
    {
      "job": 80029553794,
      "time": 225,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7472447918"
    },
    {
      "job": 80029553810,
      "time": 146,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7472430915"
    },
    {
      "job": 80029553801,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7472435948"
    },
    {
      "job": 80029130698,
      "time": 261,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7472401104"
    },
    {
      "job": 80029553786,
      "time": 175,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7472437033"
    },
    {
      "job": 80029553830,
      "time": 121,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7472426018"
    },
    {
      "job": 80029553799,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7472424058"
    },
    {
      "job": 80029553796,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7472424738"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sammo3182/drhutools",
  "_commit": {
    "id": "5f39f886d37ac995419e40f824c19c263f64e044",
    "author": "sammo3182 <sammo3182@sina.com>",
    "committer": "sammo3182 <sammo3182@sina.com>",
    "message": "chinese-english version of foldersystem\n",
    "time": 1780887054
  },
  "_maintainer": {
    "name": "Yue Hu",
    "email": "yuehu@tsinghua.edu.cn",
    "login": "sammo3182",
    "twitter": "@yuehupolisci",
    "description": "Associate professor of political science, Tsinghua University, political psychologist, political linguist, political methodologist",
    "uuid": 6463211
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "htmlwidgets",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "leaflet",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "gganimate",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Imports"
    },
    {
      "package": "webshot",
      "role": "Imports"
    },
    {
      "package": "animation",
      "role": "Imports"
    },
    {
      "package": "png",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "sammo3182",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 4
    },
    {
      "week": "2026-15",
      "n": 4
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-12-17"
    },
    {
      "name": "v1.1.1",
      "date": "2026-05-25"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "sammo3182",
      "count": 71,
      "uuid": 6463211
    },
    {
      "user": "waitingjoyce",
      "count": 34,
      "uuid": 77567140
    },
    {
      "user": "qiuqiuren-ai",
      "count": 2,
      "uuid": 194815582
    }
  ],
  "_userbio": {
    "uuid": 6463211,
    "type": "user",
    "name": "Yue Hu",
    "description": "Associate professor of political science, Tsinghua University, political psychologist, political linguist, political methodologist"
  },
  "_downloads": {
    "count": 568,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/drhutools"
  },
  "_devurl": "https://github.com/sammo3182/drhutools",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/drhutools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sammo3182/drhutools",
  "_realowner": "sammo3182",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-12-05"
    },
    {
      "version": "1.0.1",
      "date": "2025-12-11"
    },
    {
      "version": "1.1.0",
      "date": "2026-04-07"
    },
    {
      "version": "1.1.1",
      "date": "2026-06-04"
    }
  ],
  "_exports": [
    "cdplot",
    "csQCAbinTest",
    "folderSystem",
    "fsQCApermTest",
    "gb_cols",
    "gb_pal",
    "goodmap",
    "mvQCAbinTest",
    "p.threshold.adjust",
    "scale_color_gb",
    "scale_fill_gb",
    "traits"
  ],
  "_datasets": [
    {
      "name": "Arab.Spring",
      "title": "Determinants of the Arab Spring Uprising",
      "object": "Arab.Spring",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Gdppc",
        "Gini",
        "Unemp",
        "Urban",
        "Youth",
        "Mobile",
        "Internet",
        "Fuel",
        "Pol",
        "Success"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "leafletcn.map.names",
      "title": "Leaflet Map Names Dataset",
      "object": "leafletcn.map.names",
      "class": [
        "data.frame"
      ],
      "fields": [
        "name",
        "name_en",
        "label",
        "files"
      ],
      "rows": 362,
      "table": true,
      "tojson": true
    },
    {
      "name": "social.revolutions",
      "title": "Determinants of Social Revolutions",
      "object": "social.revolutions",
      "class": [
        "data.frame"
      ],
      "fields": [
        "soc.rev",
        "breakdown",
        "pop.ins"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "toy_poly",
      "title": "Toy Dataset for 'goodmap'",
      "object": "toy_poly",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "city",
        "prov",
        "animate_set",
        "value_set"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Arab.Spring",
      "title": "Determinants of the Arab Spring Uprising",
      "topics": [
        "Arab.Spring"
      ]
    },
    {
      "page": "cdplot",
      "title": "Visualizing the experimental outcome with cumulative distribution functions.",
      "topics": [
        "cdplot"
      ]
    },
    {
      "page": "csQCAbinTest",
      "title": "A Simple Binomial Test for Type I Error in csQCA",
      "concept": [
        "Binomial csQCA multiple inference p-value adjust"
      ],
      "topics": [
        "csQCAbinTest"
      ]
    },
    {
      "page": "folderSystem",
      "title": "Folder hierarchy creator for academic research",
      "topics": [
        "folderSystem"
      ]
    },
    {
      "page": "fsQCApermTest",
      "title": "A Simple Permutation Test for Type I Error in fsQCA",
      "concept": [
        "permutation fsQCA multiple inference p-value adjust"
      ],
      "topics": [
        "fsQCApermTest"
      ]
    },
    {
      "page": "gb_cols",
      "title": "Function to extract colors as hex codes.",
      "topics": [
        "gb_cols"
      ]
    },
    {
      "page": "gb_pal",
      "title": "Function to interpolate a gold-black color palette.",
      "topics": [
        "gb_pal"
      ]
    },
    {
      "page": "goodmap",
      "title": "The 'goodmap' function is designed to create interactive PNG Map or GIF Map from a provided data file. It supports two types of maps: 'point' and 'polygon'. The function can visualize data by either plotting points based on geographical coordinates or highlighting regions polygon based on their administrative boundaries (province or city level). Additionally, the function can generate animated that showcase the change of data.",
      "topics": [
        "goodmap"
      ]
    },
    {
      "page": "leafletcn.map.names",
      "title": "Leaflet Map Names Dataset",
      "topics": [
        "leafletcn.map.names"
      ]
    },
    {
      "page": "mvQCAbinTest",
      "title": "A Simple Binomial Test for Type I Error in mvQCA",
      "concept": [
        "Binomial mvQCA multiple inference p-value adjust"
      ],
      "topics": [
        "mvQCAbinTest"
      ]
    },
    {
      "page": "p.threshold.adjust",
      "title": "Calculate Vector of p-value Thresholds for Multiple Inference",
      "concept": [
        "p-value threshold fsQCA"
      ],
      "topics": [
        "p.threshold.adjust"
      ]
    },
    {
      "page": "plot.fsQCApt",
      "title": "Plot Results of fsQCA Permutation Test",
      "concept": [
        "fsQCA permutation test distribution"
      ],
      "topics": [
        "plot.fsQCApt"
      ]
    },
    {
      "page": "scale_color_gb",
      "title": "Fill scale constructors for gold & black colors",
      "topics": [
        "scale_color_gb"
      ]
    },
    {
      "page": "scale_fill_gb",
      "title": "Color scale constructors for gold & black colors",
      "topics": [
        "scale_fill_gb"
      ]
    },
    {
      "page": "social.revolutions",
      "title": "Determinants of Social Revolutions",
      "topics": [
        "social.revolutions"
      ]
    },
    {
      "page": "summary.csQCAbt",
      "title": "Summarize Binomial Tests for csQCA Data",
      "concept": [
        "binomial test csQCA"
      ],
      "topics": [
        "summary.csQCAbt"
      ]
    },
    {
      "page": "summary.fsQCApt",
      "title": "Summarize Permutation Tests for fsQCA Data",
      "concept": [
        "permutation test fsQCA"
      ],
      "topics": [
        "summary.fsQCApt"
      ]
    },
    {
      "page": "summary.mvQCAbt",
      "title": "Summarize Binomial Tests for mvQCA Data",
      "concept": [
        "binomial test mvQCA"
      ],
      "topics": [
        "summary.mvQCAbt"
      ]
    },
    {
      "page": "toy_poly",
      "title": "Toy Dataset for 'goodmap'",
      "topics": [
        "toy_poly"
      ]
    },
    {
      "page": "traits",
      "title": "Calculate psychological traits based on",
      "topics": [
        "traits"
      ]
    }
  ],
  "_readme": "https://github.com/sammo3182/drhutools/raw/HEAD/README.md",
  "_rundeps": [
    "animation",
    "base64enc",
    "bslib",
    "cachem",
    "callr",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "crosstalk",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "gganimate",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lazyeval",
    "leaflet",
    "leaflet.providers",
    "lifecycle",
    "lpSolve",
    "magick",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "processx",
    "progress",
    "proxy",
    "ps",
    "purrr",
    "R6",
    "rappdirs",
    "raster",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "sp",
    "stringi",
    "terra",
    "tibble",
    "tidyselect",
    "tinytex",
    "transformr",
    "tweenr",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "webshot",
    "withr",
    "wk",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "drhutools.Rmd",
      "filename": "drhutools.html",
      "title": "drhutools: Political Science Academic Research Gears",
      "author": "HU Yue, QIU Qian, DENG Wen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Efficient File Organization with folderSystem",
        "Visualizing Experimental Results with cdplot",
        "Color-Blind Friendly Palette",
        "Standard Map of China: goodmap",
        "Static Maps",
        "Preparing Data for Polygon Maps",
        "Preparing Data for Point Maps",
        "Animated Maps",
        "Psychological Scale Scoring: traits",
        "Data Requirements",
        "Example",
        "Guarding Against False Positives in QCA",
        "Binomial Tests for csQCA and mvQCA",
        "Permutation Test for fsQCA",
        "Affiliation",
        "References"
      ],
      "created": "2024-08-27 11:27:17",
      "modified": "2026-04-07 03:00:21",
      "commits": 30
    }
  ],
  "_score": 5.301029995663981,
  "_indexed": true,
  "_nocasepkg": "drhutools",
  "_universes": [
    "sammo3182"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.9999",
      "date": "2026-06-08T05:43:37.000Z",
      "distro": "noble",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "461a0fd29973af9bcbb15b1e82623f5c9b60414ef44e59e5204b49c9dca29f9b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.9999",
      "date": "2026-06-08T05:43:12.000Z",
      "distro": "noble",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "fcce2814407dcdc9a52024a2fd49212b409900f9234c0196c4bfd81106af9a3f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.9999",
      "date": "2026-06-08T05:41:52.000Z",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "588b63d5fcaab7ae418ff65c753883f2b05b1c8501b909112cb872e05b7c73ad",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.9999",
      "date": "2026-06-08T05:42:16.000Z",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "8a1d49f604814de33cebfc8dca43c8838c3583a67f3f9ba8f9fab3b6b008152d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.9999",
      "date": "2026-06-08T05:43:03.000Z",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "d99f75f368548bae0d1c0208b20cf7a517ddc81c368fbf0c121558d65d995939",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.9999",
      "date": "2026-06-08T05:41:16.000Z",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "d31b5d7d64445cfee84b4604ee69c1f4ae127d16e2ab4443c237f45a78f4e50d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.9999",
      "date": "2026-06-08T05:41:08.000Z",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "84c38e792592e4a3feb1cfb08c1787e3ccca71f14ee6aa3e4c3d65194368759b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.9999",
      "date": "2026-06-08T05:41:13.000Z",
      "commit": "5f39f886d37ac995419e40f824c19c263f64e044",
      "fileid": "e4ae490f44c57e7a083f5aab1df870cba5271e8fd6b699e2f6ea2ce45570dd1b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/sammo3182/actions/runs/27118144954"
    }
  ]
}