diff --git a/NEWS.md b/NEWS.md index f600589d..3ac722e8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,7 +1,8 @@ # redcapAPI (development version) -* `exportDags`, `exportFieldNames`, `exportProjectInformation`, `exportReportsTyped`, `importDags`, `writeDataForImport`, and `exportRecordsTYped` now have a `csv_delimiter` parameter to control delimiter utilized. +* `exportDags`, `exportFieldNames`, `exportProjectInformation`, `exportReportsTyped`, `importDags`, `writeDataForImport`, and `exportRecordsTyped` now have a `csv_delimiter` parameter to control delimiter utilized. * `importMetaData` bug fix when given duplicate names to exit and warn user properly. +* `redcapUserRoleStructure` allows new `alerts`, `api_modules`, and `data_quality_resolution` attributes. ## DEPRECATION NOTICES diff --git a/R/redcapDataStructure.R b/R/redcapDataStructure.R index 26855546..0d5796d3 100644 --- a/R/redcapDataStructure.R +++ b/R/redcapDataStructure.R @@ -401,6 +401,7 @@ redcapUserRoleStructure <- function(version) data.frame(unique_role_name = character(0), role_label = character(0), design = character(0), + alerts = character(0), user_rights = character(0), data_access_groups = character(0), # data_export = character(0), @@ -415,8 +416,10 @@ redcapUserRoleStructure <- function(version) file_repository = character(0), data_quality_create = character(0), data_quality_execute = character(0), + data_quality_resolution = character(0), api_export = character(0), api_import = character(0), + api_modules = if(is.null(version) || utils::compareVersion(version, "14.0.3") < 0) NULL else character(0), mobile_app = character(0), mobile_app_download_data = character(0), record_create = character(0),