The `label` function from Hmisc is not actually used in `exportRecords.redcapApiConnection`. This check should probably be moved to the function where it is being used.