@@ -157,7 +157,7 @@ ds.cbind <- function(x=NULL, DataSHIELD.checks=FALSE, force.colnames=NULL, newob
157157 }
158158 colNames <- unlist(colNames )
159159 if (anyDuplicated(colNames ) != 0 ){
160- cat (" \n Warning: Some column names in study" , j , " are duplicated and a suffix '.k' will be added to the kth replicate \n " )
160+ message (" \n Warning: Some column names in study" , j , " are duplicated and a suffix '.k' will be added to the kth replicate \n " )
161161 }
162162 }
163163 }
@@ -198,30 +198,30 @@ ds.cbind <- function(x=NULL, DataSHIELD.checks=FALSE, force.colnames=NULL, newob
198198 next .class <- DSI :: datashield.aggregate(datasources [std ], calltext1 )
199199 class.vector <- c(class.vector , next .class [[1 ]])
200200 if (notify.of.progress ){
201- cat (" \n " ,j ," of " , length(x ), " elements to combine in step 1 of 2 in study " , std , " \n " )
201+ message (" \n " ,j ," of " , length(x ), " elements to combine in step 1 of 2 in study " , std , " \n " )
202202 }
203203 }
204204 for (j in 1 : length(x )){
205205 test.df <- x [j ]
206206 if (class.vector [j ]!= " data.frame" && class.vector [j ]!= " matrix" ){
207207 colname.vector <- c(colname.vector , test.df )
208208 if (notify.of.progress ){
209- cat (" \n " ,j ," of " , length(x ), " elements to combine in step 2 of 2 in study " , std , " \n " )
209+ message (" \n " ,j ," of " , length(x ), " elements to combine in step 2 of 2 in study " , std , " \n " )
210210 }
211211 }else {
212212 calltext2 <- call(' colnamesDS' , test.df )
213213 df.names <- DSI :: datashield.aggregate(datasources [std ], calltext2 )
214214 colname.vector <- c(colname.vector , df.names [[1 ]])
215215 if (notify.of.progress ){
216- cat (" \n " , j ," of " , length(x ), " elements to combine in step 2 of 2 in study " , std , " \n " )
216+ message (" \n " , j ," of " , length(x ), " elements to combine in step 2 of 2 in study " , std , " \n " )
217217 }
218218 }
219219 }
220220 colname.list [[std ]] <- colname.vector
221221 }
222222
223223 if (notify.of.progress ){
224- cat (" \n Both steps in all studies completed\n " )
224+ message (" \n Both steps in all studies completed\n " )
225225 }
226226
227227 # prepare name vectors for transmission
0 commit comments