atorus-research / xportr

Tools to build CDISC compliant data sets and check for CDISC compliance.

Home Page:https://atorus-research.github.io/xportr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`E8601TZ` formats within `xpt_validate()` function contain spaces due to missing `sep =`.

sophie-gem opened this issue · comments

Within the utility function xpt_validate() in utils-xportr.r - there is a section where a vector of expected_formats is created. Whilst looking through this for ideas for #164, I noticed that lines 261 & 262,

image

are missing the sep = "" operator meaning that the formats unintentionally contain spaces:

image

Think this will need updating otherwise the formats will not get correctly matched.

@elimillera - we decided to just correct this issue as part of the xportr_format() issue.