Package: zuhtml 0.1.0.9000

zuhtml: Parse 'HTML' with a Bundled 'Gumbo' Parser

Parses real-world 'HTML' with a bundled copy of the 'Gumbo' parser (<https://codeberg.org/gumbo-parser/gumbo-parser>), which follows the 'WHATWG' parsing algorithm, so that no system library is required. Documents become immutable trees navigated with a documented subset of 'CSS' selectors. Attributes, text, lists, tables, links, forms and page metadata ('JSON-LD', microdata) are extracted into ordinary character vectors, lists and data frames, and nodes convert to 'Markdown'. Input is a string, raw bytes, a file, a URL or a connection, and raw input is decoded as browsers decode it, from a byte-order mark or a '<meta>' declaration. Parsing is bounded by limits on input size, native memory and nesting depth.

Authors:Pedro Baltazar [aut, cre, cph], Google Inc. [cph], Bjoern Hoehrmann [cph]

zuhtml_0.1.0.9000.tar.gz
zuhtml_0.1.0.9000.zip(r-4.7-x86_64)zuhtml_0.1.0.9000.zip(r-4.7-arm64)zuhtml_0.1.0.9000.zip(r-4.6-x86_64)zuhtml_0.1.0.9000.zip(r-4.6-arm64)zuhtml_0.1.0.9000.zip(r-4.5-x86_64)
zuhtml_0.1.0.9000.tgz(r-4.6-x86_64)zuhtml_0.1.0.9000.tgz(r-4.6-arm64)zuhtml_0.1.0.9000.tgz(r-4.5-x86_64)zuhtml_0.1.0.9000.tgz(r-4.5-arm64)
zuhtml_0.1.0.9000.tar.gz(r-4.7-arm64)zuhtml_0.1.0.9000.tar.gz(r-4.7-x86_64)zuhtml_0.1.0.9000.tar.gz(r-4.6-arm64)zuhtml_0.1.0.9000.tar.gz(r-4.6-x86_64)
zuhtml_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zuhtml/json (API)

# Install 'zuhtml' in R:
install.packages('zuhtml', repos = c('https://pedrobtz.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pedrobtz/zuhtml/issues

Pkgdown/docs site:https://pedrobtz.github.io

On CRAN:

Conda:

4.78 score 9 scripts 132 downloads 42 exports 0 dependencies

Last updated from:e9f7a2078c. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK138
linux-devel-x86_64OK136
source / vignettesOK282
linux-release-arm64OK133
linux-release-x86_64OK132
macos-release-arm64OK112
macos-release-x86_64OK221
macos-oldrel-arm64OK115
macos-oldrel-x86_64OK180
windows-devel-arm64OK230
windows-devel-x86_64OK126
windows-release-arm64OK201
windows-release-x86_64OK149
windows-oldrel-x86_64OK98
wasm-releaseOK84

Exports:html_ancestorshtml_attrhtml_attrshtml_childrenhtml_classeshtml_closesthtml_documenthtml_elementhtml_elementshtml_filterhtml_formshtml_fragmenthtml_infohtml_json_ldhtml_limitshtml_linkshtml_listhtml_markdownhtml_matcheshtml_metahtml_microdatahtml_namehtml_namespacehtml_next_siblinghtml_parenthtml_parsehtml_previous_siblinghtml_problemshtml_readhtml_roothtml_serializehtml_stringshtml_tablehtml_table_cellshtml_tableshtml_template_contenthtml_texthtml_text_cleanhtml_titlehtml_typehtml_urlzuhtml_info

Dependencies:

Getting started with zuhtml
A page to work with | Selecting elements | Values | Structures | What the parser repaired | Where next

Last update: 2026-09-25
Started: 2026-09-24

Limits, encodings and safety
Every call runs under limits | Encodings | Errors are classed | What zuhtml does not do

Last update: 2026-09-25
Started: 2026-09-24

CSS selectors
What is supported | What is rejected | Case | Where the search looks

Last update: 2026-09-24
Started: 2026-09-24

Tables and lists
Tables | Spans | Headers | Lists

Last update: 2026-09-24
Started: 2026-09-24

Readme and manuals

Help Manual

Help pageTopics
Attributes of elementshtml_attr html_attrs html_classes
Navigate a document treehtml_ancestors html_children html_document html_next_sibling html_parent html_previous_sibling html_root html_template_content
Nearest ancestor matching a selectorhtml_closest
Select elements with CSS selectorshtml_element html_elements html_filter html_matches
Forms and their controlshtml_forms
Parse an HTML fragmenthtml_fragment
Information about a parsed documenthtml_info
JSON-LD blockshtml_json_ld
Resource limits for parsing and extractionhtml_limits
Links in a documenthtml_links
Extract an HTML listhtml_list
Convert HTML to Markdownhtml_markdown
Meta tagshtml_meta
Microdata itemshtml_microdata
Node names, namespaces and typeshtml_name html_namespace html_type
Parse HTMLhtml_parse html_read
Parse problems recorded for a documenthtml_problems
Serialize nodes as HTMLhtml_serialize
Text pieces of nodeshtml_strings
Extract HTML tables as data frameshtml_table html_tables
Cells of an HTML tablehtml_table_cells
Text content of nodeshtml_text
Cleaned text for extractionhtml_text_clean
Document titlehtml_title
Resolve URLs in attributeshtml_url
Report the zuhtml build configurationzuhtml_info
Conditions raised by zuhtmlzuhtml-conditions