{
  "_id": "6a0f5cc0acfb0bcc41c59858",
  "Package": "hanyupinyin",
  "Title": "Convert Chinese Characters into Hanyu Pinyin",
  "Version": "0.1.3",
  "Authors@R": "person(\"Haoran\", \"Cui\", , \"hao.ran.cui@ktstat.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Convert Chinese characters into Hanyu Pinyin (the official\nromanization system for Standard Chinese) with support for\ntones, toneless output, initials, URL slugs, and valid R\nvariable names. The package was inspired by the now-orphaned\nCRAN package 'pinyin' (archived in April 2026 after the\nmaintainer became unreachable). 'hanyupinyin' is a ground-up\nrewrite using the authoritative Unicode Unihan database, a\nvectorized engine, and modern R practices. Dictionary data are\nderived from the Unicode Unihan Database (Unicode Consortium,\n2025) <https://www.unicode.org/reports/tr38/>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/CuiHR17/hanyupinyin",
  "BugReports": "https://github.com/CuiHR17/hanyupinyin/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 16:54:35 UTC",
    "User": "root"
  },
  "Author": "Haoran Cui [aut, cre]",
  "Maintainer": "Haoran Cui <hao.ran.cui@ktstat.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-21 13:40:06 UTC",
  "RemoteUrl": "https://github.com/cran/hanyupinyin",
  "RemoteRef": "HEAD",
  "RemoteSha": "e422dc078a762fd8556521b3e4ae7899c039e77a",
  "MD5sum": "d9fc40994cfb210c2040b31753728159",
  "_user": "cran",
  "_type": "src",
  "_file": "hanyupinyin_0.1.3.tar.gz",
  "_fileid": "762750ee88fa11c06fa83790e208ae0ba23c69866c0efa059849a7be4132aa71",
  "_filesize": 1146566,
  "_sha256": "762750ee88fa11c06fa83790e208ae0ba23c69866c0efa059849a7be4132aa71",
  "_created": "2026-05-21T16:54:35.000Z",
  "_published": "2026-05-21T19:28:00.086Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77251906676,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7142059574"
    },
    {
      "job": 77251906497,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7142071547"
    },
    {
      "job": 77251906260,
      "time": 177,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7142015850"
    },
    {
      "job": 77251905869,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145239084"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26240266370",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/hanyupinyin",
  "_commit": {
    "id": "e422dc078a762fd8556521b3e4ae7899c039e77a",
    "author": "Haoran Cui <hao.ran.cui@ktstat.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.3\n",
    "time": 1779370806
  },
  "_maintainer": {
    "name": "Haoran Cui",
    "email": "hao.ran.cui@ktstat.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-04-22"
    },
    {
      "name": "0.1.3",
      "date": "2026-05-21"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 545,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hanyupinyin"
  },
  "_devurl": "https://github.com/cuihr17/hanyupinyin",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hanyupinyin.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cuihr17/hanyupinyin",
  "_realowner": "cuihr17",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-04-22"
    },
    {
      "version": "0.1.3",
      "date": "2026-05-21"
    }
  ],
  "_exports": [
    "add_phrase",
    "list_phrases",
    "to_pinyin",
    "to_pinyin_initials",
    "to_pinyin_marks",
    "to_pinyin_toneless",
    "to_slug",
    "to_varname"
  ],
  "_datasets": [
    {
      "name": "unihan_pinyin",
      "title": "Unihan Pinyin Dictionary",
      "object": "unihan_pinyin",
      "class": [
        "data.frame"
      ],
      "fields": [
        "char",
        "pinyin",
        "pinyin_tone",
        "pinyin_toneless"
      ],
      "rows": 44348,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_phrase",
      "title": "Add a Custom Polyphone Phrase",
      "topics": [
        "add_phrase"
      ]
    },
    {
      "page": "list_phrases",
      "title": "List Custom Polyphone Phrases",
      "topics": [
        "list_phrases"
      ]
    },
    {
      "page": "to_pinyin",
      "title": "Convert Chinese Characters to Hanyu Pinyin",
      "topics": [
        "to_pinyin"
      ]
    },
    {
      "page": "to_pinyin_initials",
      "title": "Extract Pinyin Initials",
      "topics": [
        "to_pinyin_initials"
      ]
    },
    {
      "page": "to_pinyin_marks",
      "title": "Convert to Pinyin with Tone Marks",
      "topics": [
        "to_pinyin_marks"
      ]
    },
    {
      "page": "to_pinyin_toneless",
      "title": "Convert to Toneless Pinyin",
      "topics": [
        "to_pinyin_toneless"
      ]
    },
    {
      "page": "to_slug",
      "title": "Create URL-Friendly Slug from Chinese Text",
      "topics": [
        "to_slug"
      ]
    },
    {
      "page": "to_varname",
      "title": "Generate Valid R Variable Names from Chinese Text",
      "topics": [
        "to_varname"
      ]
    },
    {
      "page": "unihan_pinyin",
      "title": "Unihan Pinyin Dictionary",
      "topics": [
        "unihan_pinyin"
      ]
    }
  ],
  "_readme": "https://github.com/cran/hanyupinyin/raw/HEAD/README.md",
  "_rundeps": [
    "stringi"
  ],
  "_vignettes": [
    {
      "source": "hanyupinyin.Rmd",
      "filename": "hanyupinyin.html",
      "title": "Converting Chinese to Pinyin with hanyupinyin",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic conversion",
        "Toneless output and initials",
        "Handling polyphones",
        "Data-cleaning helpers",
        "Dictionary source"
      ],
      "created": "2026-04-22 09:56:52",
      "modified": "2026-04-22 09:56:52",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "hanyupinyin",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cuihr17.r-universe.dev/hanyupinyin",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-21T16:56:34.000Z",
      "distro": "noble",
      "commit": "e422dc078a762fd8556521b3e4ae7899c039e77a",
      "fileid": "bfc95ecb4e5bbd846dd0ca956c99f4e728fba08f12f982bb169d8079b269ab3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26240266370"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-21T16:57:02.000Z",
      "distro": "noble",
      "commit": "e422dc078a762fd8556521b3e4ae7899c039e77a",
      "fileid": "96dd02509fca0f1eea9b1e5de6b730ca92e756399b6eb1647425d3af3aff1ece",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26240266370"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-21T19:27:41.000Z",
      "commit": "e422dc078a762fd8556521b3e4ae7899c039e77a",
      "fileid": "2deb8e8135164258c2d3236b060bb422cabf466e140246d6770fd1b84cd1db65",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26240266370"
    }
  ]
}