tests/testthat/_snaps/html.md

validates inputs

Code
  html_attr(html, 1)
Condition
  Error in `html_attr()`:
  ! `name` must be a single string, not the number 1.
Code
  html_attr(html, "id", 1)
Condition
  Error in `html_attr()`:
  ! `default` must be a single string or `NA`, not the number 1.


Try the rvest package in your browser

Any scripts or data that you put into this service are public.

rvest documentation built on June 22, 2024, 10:47 a.m.