group_data_check() function to check and warn users of data grouping in their data when using xportr functions. (#270) (#297)xpt_validate() to verify the class of date, datetime, and
time variables. (#298)xportr_label(), xportr_length(), and xportr_order() to alert users when metadata contains variables that are not present in the dataset (#284)xportr_format() and added missing xportr.order_verbose option (#318)xportr_format() to exclude variables ending with ELTM from the date/time format check, as these indicate time relative to an anchor time in SDTM or ADaM (#293)metacore argument has been removed from xportr_type(), xportr_label(), xportr_length(), xportr_order(), xportr_df_label(), and xportr_format() functions. Use the metadata argument instead. (#317)label argument has been removed from xportr_write(). Use the metadata argument instead. (#317)Removed tidyselect from Imports; all_of(), any_of(), and where() are now imported via dplyr (>= 1.0.2), which already re-exports them. (#365)
Fixed Version Bump CI workflow by switching from an explicit REPO_GITHUB_TOKEN secret mapping to secrets: inherit, ensuring the auto-provisioned GITHUB_TOKEN is available as a fallback. (#355)
Standardized function calls by centralizing imports in R/xportr-package.R, replacing inconsistent use of package::function() syntax. (see Conventions in xportr). (#204)
Updated warning when trying to write and file size exceeds 5GB (#288)
Updated %>% into |> (#341)
Removed readr from Imports. The only usage (readr::parse_date() in a single test line) has been replaced with base R as.Date(). (#362)
Added logging to the domain argument in xportr functions to notify user if
the domain passed doesn't exist in the metadata. (#260)
Updated order messaging to clarify some messaging when all data in dataset is found in the specification. (#269)
"hms" was added to the default value of the xportr.numeric_types option.
This ensures that {xportr} works smoothly with variables created by
admiral::derive_vars_dtm_to_tm(). (#271)
More details were added to the messages of xportr_type(). (#271)
xportr_write() allows users to specify the maximum file size (in GB) of their exported xpt files. (#268)xportr_split() is deprecated with this new argument above now added to xportr_write()xportr() (#137)xportr_metadata() can set verbose for a whole pipeline, i.e. setting verbose in xportr_metadata() will populate to all xportr functions. (#151)xportr_split() is a new function that allows users to split a dataset into multiple output files based on a variable. (#183)xportr_write() now accepts metadata argument which can be used to set the dataset label to stay consistent with the other xportr_* functions. It is noteworthy that the dataset label set using the xportr_df_label() function will be retained during the xportr_write(). (#179)xpt_validate()(#91, #189).xportr_options() (#130)xportr.character_metadata_types and xportr.numeric_metadata_types to list the metadata types that are character or numeric. Updated xportr.character_types and xportr.numeric_types to list only the R types that are character and the R types that are numeric. This ensures that all R types, including dates, are now managed by xportr_type. If the R type differs from the metadata type, the variable is coerced (#161).xportr_length() allows selection between the length from metadata, as previously done, or from the calculated maximum length per variable when length_source is set to “data” (#91)xportr_format() function to ensure format lengths, prefixes are accurate for the variable type. Also to ensure that any numeric date/datetime/time variables have a format. (#164)xportr_length() assigns the maximum length value instead of 200 for a character variable when the length is missing in the metadata (#207)xportr_type() drop factor levels when coercing variables (#159)domain argument for xportr functions will no longer be dynamically
determined by the name of the data frame passed as the .df argument. This was
done to make the use of xportr functions more explicit. (#182)metacore argument, which was renamed to metadata in the following six xportr functions: (xportr_df_label(), xportr_format(), xportr_label(), xportr_length(), xportr_order(), and xportr_type()) in version 0.3.0 with a soft deprecation warning, has now been hard deprecated. Please update your code to use the new metadata argument in place of metacore. (#203)SASlength and SAStype were removed since they did not have an impact on xpt_validate or any other functions (#132)adsl data object is now called adsl_xportr (#237)xportr_length() and xportr() to deep dive vignette (#215, #222){withr} to create temporary files that are automatically deleted (#219)dataset_spec that contains the Dataset Specification for ADSL. (#179){checkmate} (#175)data("name_of_object") first (#237){tm} and {janitor} from Imports (#241)xportr_type() would overwrite column labels, widths, and "sas.formats"xportr_order()to give better visibility of the number of variables being reordered.xportr_write() to allow users to specify how xpt validation checks are handled.xportr_type() to make type coercion more explicit.xpt_validate updated to accept iso8601 date formats. (#76)xportr_metadata() to explicitly set metadata at the start of a pipeline (#44)xportr_order() to prevent character sorting (#149)xportr_* functions when the metadata being used has multiple variables with the same name in the same domain (#128)xport_type() where DT, DTM variables with a format specified in the metadata (e.g. date9., datetime20.) were being converted to numeric, which will cause a 10 year difference when reading it back by read_xpt(). SAS's uniform start date is 1960 whereas Linux's uniform start date is 1970 (#142).|> that was causing functions to abort (#97)< and > as illegal characters in variable and dataset labels (#98){pkgdown} site to bootswatch. Enabled search and linked slack icon (#122).xpts created (#84)metacore argument has been renamed to metadata in the following six xportr functions: xportr_df_label(), xportr_format(), xportr_label(), xportr_length(), xportr_order(), and xportr_type(). Please update your code to use the new metadata argument in place of metacore.Beta release for xportr
xportr_varnames and xportr_tidy_rename into dev folder found on GitHub Repostiory. Intention to move into packages after CRAN release.Initial alpha release of xportr