expect_attr_width: Custom expect function to test result of xportr_length

View source: R/support-test.R

expect_attr_widthR Documentation

Custom expect function to test result of xportr_length

Description

Custom expect function to test result of xportr_length

Usage

expect_attr_width(result, metadata_length)

Arguments

result

data.frame with width attribute on its columns.

metadata_length

vector of numeric with expected lengths for each column width.

Value

The first argument, invisibly.


xportr documentation built on April 3, 2025, 8:47 p.m.