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 Sept. 1, 2026, 9:07 a.m.