Skip to content

Commit

Permalink
fix note 'no visible binding for global variable'
Browse files Browse the repository at this point in the history
  • Loading branch information
jianxiaoyang committed Nov 2, 2023
1 parent eb13b58 commit 87d0494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/NewDataConversion.R
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ convertToCyclopsData.tbl_dbi <- function(outcomes,
batchSize = 100000) # TODO Pick magic number

if (modelType == "cox_time" && !is.null(timeEffectMap)) {
covarNames <- unique(pull(covariates, covariateId))
covarNames <- unique(pull(covariates, .data$covariateId))
if (!all(timeEffectMap$covariateId %in% covarNames)) stop("Invalid covariateId for time effects.")
loadNewSqlCyclopsDataStratTimeEffects(object = dataPtr,
stratumId = outcomes$stratumId,
Expand Down

0 comments on commit 87d0494

Please sign in to comment.