Check an object for errors or issues
Source:R/aa_generics.R, R/class_Boxplot.R, R/class_Kobe.R, and 7 more
Check.RdChecks S4 objects to check for warnings and errors
Usage
Check(object, ...)
# S4 method for class 'Boxplot'
Check(object, req_dims = c(NA, NA, NA, NA))
# S4 method for class 'Kobe'
Check(object)
# S4 method for class 'MPs'
Check(object)
# S4 method for class 'OMs'
Check(object)
# S4 method for class 'Quilt'
Check(object)
# S4 method for class 'Tradeoff'
Check(object)
# S4 method for class 'Timeseries'
Check(object)
# S4 method for class 'Spider'
Check(object)
# S4 method for class 'Slick'
Check(object)Arguments
- object
An object of class:
Slick-class(),MPs-class(),OMs-class()or the six chart types:Boxplot-class(),Kobe-class(),Quilt-class(),Spider-class(),Timeseries-class(), andTradeoff-class().- ...
Additional arguments
- req_dims
Required dimensions for
Valueslot. Used internally
Methods (by class)
Check(Boxplot): CheckBoxplot-class()objects for errorsCheck(Kobe): CheckKobe-class()objects for errorsCheck(MPs): CheckMPs-class()objects for errorsCheck(OMs): CheckOMs-class()objects for errorsCheck(Quilt): CheckQuilt-class()objects for errorsCheck(Tradeoff): CheckTradeoff-class()objects for errorsCheck(Timeseries): CheckTimeseries-class()objects for errorsCheck(Spider): CheckSpider-class()objects for errorsCheck(Slick): CheckSlick-class()objects for errors
Examples
slick <- Slick()
Check(slick)
#>
#> ── Checking: "Slick" ──
#>
#> ── Checking: "MPs"
#> ℹ Object is empty
#>
#> ── Checking: "OMs"
#> ℹ Object is empty
#>
#> ── Checking: "Boxplot"
#> ℹ Object is empty
#>
#> ── Checking: "Quilt"
#> ℹ Object is empty
#>
#> ── Checking: "Kobe"
#> ℹ Object is empty
#>
#> ── Checking: "Spider"
#> ℹ Object is empty
#>
#> ── Checking: "Timeseries"
#> ℹ Object is empty
#>
#> ── Checking: "Tradeoff"
#> ℹ Object is empty