Package: BCP47 0.0.0.9000

Christopher T. Kenny
BCP47: Work with Language Tags
Tools to parse, validate, normalize, and match language tags following the Best Current Practice 47 (BCP 47) standard, which defines the syntax (RFC 5646, <https://tools.ietf.org/html/rfc5646>) and lookup rules (RFC 4647, <https://tools.ietf.org/html/rfc4647>) for identifying human languages. Includes a bundled snapshot of the IANA Language Subtag Registry (<https://www.iana.org/assignments/language-subtag-registry/>) with optional support for updating.
Authors:
BCP47_0.0.0.9000.tar.gz
BCP47_0.0.0.9000.zip(r-4.7)BCP47_0.0.0.9000.zip(r-4.6)BCP47_0.0.0.9000.zip(r-4.5)
BCP47_0.0.0.9000.tgz(r-4.6-any)BCP47_0.0.0.9000.tgz(r-4.5-any)
BCP47_0.0.0.9000.tar.gz(r-4.7-any)BCP47_0.0.0.9000.tar.gz(r-4.6-any)
BCP47_0.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
BCP47/json (API)
| # Install 'BCP47' in R: |
| install.packages('BCP47', repos = c('https://christopherkenny.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/christopherkenny/bcp47/issues
Pkgdown/docs site:https://christophertkenny.com
Last updated from:7d680fdd7c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 124 | ||
| source / vignettes | OK | 178 | ||
| linux-release-x86_64 | OK | 139 | ||
| macos-release-arm64 | OK | 110 | ||
| macos-oldrel-arm64 | OK | 95 | ||
| windows-devel | OK | 100 | ||
| windows-release | OK | 105 | ||
| windows-oldrel | OK | 90 | ||
| wasm-release | OK | 104 |
Exports:bcp_cache_clearbcp_cache_pathbcp_cache_sizebcp_cache_updatebcp_match_languagebcp_normalizebcp_parsebcp_process_registrybcp_validate
Dependencies:cligluelifecyclemagrittrpillarpkgconfigpurrrrlangtibbleutf8vctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Work with the 'BCP47' cache | bcp_cache_clear bcp_cache_path bcp_cache_size bcp_cache_update |
| Match a BCP 47 language preference to available languages | bcp_match_language |
| Normalize a BCP 47 language tag | bcp_normalize |
| Parse a BCP 47 language tag | bcp_parse |
| Process the IANA BCP 47 subtag registry | bcp_process_registry |
| Validate a BCP 47 language tag | bcp_validate |