Skip to contents

This function runs a workflow of the minimum number of checks required for a user to run dbGaPCheckup_required_field_check; the checks include dbGaP_required_field_check, dimension_check, and name_check.

Usage

super_short_precheck(dict, data)

Arguments

dict

Data dictionary.

data

Data set.

Value

Tibble containing the following information for each check: (1) Time (time stamp); (2) Name (name of the function); (3) Status (Passed/Failed); (4) Message (A copy of the message the function printed out); (5) Information (More detailed information about the potential errors identified).

Examples

# Example 1: Pass check
data(ExampleB)
super_short_precheck(DD.dict.B, DS.data.B)
#> # A tibble: 1 × 5
#>   Time                Function    Status Message                     Information
#>   <dttm>              <chr>       <chr>  <chr>                       <named lis>
#> 1 2023-09-27 11:01:21 field_check Passed Passed: required fields VA… <lgl [4]>