From 73ceed603a7249c87805a5bc66c03b1ec95c3116 Mon Sep 17 00:00:00 2001 From: Danielle Callan Date: Mon, 13 Nov 2023 14:54:00 -0500 Subject: [PATCH] debugging --- R/methods-Megastudy.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/methods-Megastudy.R b/R/methods-Megastudy.R index 7467bfd..d127428 100644 --- a/R/methods-Megastudy.R +++ b/R/methods-Megastudy.R @@ -124,6 +124,8 @@ setMethod('getEntityId', signature('StudySpecificVocabulariesByVariable'), funct #' @include methods-Statistic.R #' @export setMethod('as.data.table', signature('StudySpecificVocabulary'), function(x) { + message("as.data.table StudySpecificVocabulary- vocabulary: ", x@vocabulary) + message("vocab length: ", length(x@vocabulary)) .dt <- data.table::data.table('study'=x@study, 'variable'=x@vocabulary) names(.dt) <- c(x@studyIdColumnName, getColName(x@variableSpec))