From 23ebdb5ee7a49ac2c46eb1b0bd08f6d5911db114 Mon Sep 17 00:00:00 2001 From: Andreas Gammelgaard Damsbo Date: Tue, 9 Apr 2024 10:57:29 +0200 Subject: [PATCH] fixed paste --- R/read_redcap_tables.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/read_redcap_tables.R b/R/read_redcap_tables.R index a8deab2..c05785a 100644 --- a/R/read_redcap_tables.R +++ b/R/read_redcap_tables.R @@ -35,7 +35,7 @@ read_redcap_tables <- function(uri, REDCapR::redcap_metadata_read(redcap_uri = uri, token = token)[["data"]] if (!is.null(fields)) { - fields_test <- fields %in% c(m$field_name,paste(unique(m$form_name),"_complete")) + fields_test <- fields %in% c(m$field_name,paste0(unique(m$form_name),"_complete")) if (any(!fields_test)) { print(paste0("The following field names are invalid: ",