Learn R Programming

xportr (version 0.4.3)

expect_attr_width: 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)

Value

The first argument, invisibly.

Arguments

result

data.frame with width attribute on its columns.

metadata_length

vector of numeric with expected lengths for each column width.