Skip to content

Commit f7801f8

Browse files
committed
lintr suggestions
from #466
1 parent b16435f commit f7801f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/redcap-project-info-read.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ redcap_project_info_read <- function(
218218

219219
# Build a column specification that matches the API response.
220220
col_types <- readr::cols()
221-
for(present_name in present_names)
221+
for (present_name in present_names)
222222
col_types$cols <- c(col_types$cols, all_col_types$cols[present_name])
223223

224224
# Convert the raw text to a dataset.
@@ -234,7 +234,7 @@ redcap_project_info_read <- function(
234234
absent_names <- setdiff(names(all_col_types$cols), names(col_types$cols))
235235
# Don't test coverage for this block b/c it only executes for old versions of REDCap
236236
# nocov start
237-
for(absent_name in absent_names) {
237+
for (absent_name in absent_names) {
238238
ds[absent_name] <- NA
239239
attr(ds, "spec")$cols <-
240240
c(attr(ds, "spec")$cols, all_col_types$cols[absent_name])

0 commit comments

Comments
 (0)