inspect: Inspect R objects

View source: R/w3c.R

inspectR Documentation

Inspect R objects

Description

Display R objects in a convenient and informative way.

Usage

inspect(x, ...)
## S3 method for class 'w3c_markup_validate'
inspect(x, details = TRUE, ...)
## S3 method for class 'w3c_markup_validate_db'
inspect(x, details = TRUE, full = FALSE, ...)

Arguments

x

an R object for the generic; objects inheriting from the respective classes for the methods.

details

a logical recycled to length two indicating whether to display detailed information on errors and warnings, respectively, or a character vector with elements partially matching ‘error’ or ‘warning’.

full

a logical indicating whether to provide information about validation results with no errors or warnings.

...

arguments to be passed to and from methods.

Details

inspect() is a generic function.

The methods for objects inheriting from "w3c_markup_validate" or "w3c_markup_validate_db" (single results of markup validation using w3c_markup_validate, or collections of such results) conveniently summarize the problems found by the validation service as collections of tables with columns giving the line, column and a description of the problem.


W3CMarkupValidator documentation built on Feb. 16, 2023, 7:09 p.m.