Skip to content

Commit 6569a7f

Browse files
Merge pull request #285 from OHDSI/notes
Update mockOmopSketch.R
2 parents f82be40 + fb7f5c1 commit 6569a7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/mockOmopSketch.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ checkColumns <- function(cdm_local){
6969
for (table in names(cdm_local)){
7070
cols <- info |>
7171
dplyr::filter(.data$cdm_table_name == table)|>
72-
dplyr::select(cdm_field_name,cdm_datatype)
72+
dplyr::select("cdm_field_name","cdm_datatype")
7373

7474
missing_cols <- cols|>
75-
dplyr::filter(!(cdm_field_name %in% colnames(cdm_local[[table]])))
75+
dplyr::filter(!(.data$cdm_field_name %in% colnames(cdm_local[[table]])))
7676

7777
if (nrow(missing_cols) > 0) {
7878

0 commit comments

Comments
 (0)