To have lintr ignore any of these issues, add the appropriate lines of those shown below to lint_ignore.csv at the top-level of the repository:
filename,line_number,message,line
R/genetic_association.R,44,Variable and function name style should be camelCase.,diseaseId = disease_id = snp = allele_count = count = N = vid = NULL
R/genetic_association.R,127,Variable and function name style should be camelCase.,ci_lower = melt = pval = se = ci_upper = allele_count = varName = n_het = n_hom =
R/genetic_association.R,128,Variable and function name style should be camelCase.,n_total = n_wt = NULL
R/genetic_association.R,139,Variable and function name style should be camelCase.,"lmInput1[allele_count == 2, allele_count := 1]}"
R/genetic_association.R,142,Variable and function name style should be camelCase.,"lmInput1[allele_count == 1, allele_count := 0]"
R/genetic_association.R,143,Variable and function name style should be camelCase.,"lmInput1[allele_count == 2, allele_count := 1]}"
R/genetic_association.R,146,Variable and function name style should be camelCase.,"lmInput1[, allele_count := as.factor(allele_count)]"
R/genetic_association.R,162,Variable and function name style should be camelCase.,"glmStat[, ci_lower := ci[varName, 1]]"
R/genetic_association.R,163,Variable and function name style should be camelCase.,"glmStat[, ci_upper := ci[varName, 2]]}"
R/phers.R,32,Variable and function name style should be camelCase.,flag = icd = person_id = . = NULL
R/phers.R,83,Variable and function name style should be camelCase.,phecode = person_id = . = prev = w = NULL
R/phers.R,116,Variable and function name style should be camelCase.,person_id = phecode = disease_id = w = score = . = NULL
R/phers.R,156,Variable and function name style should be camelCase.,disease_id = diseaseId = resid_score = . = person_id = score = NULL
R/positive_control.R,26,Variable and function name style should be camelCase.,dx_status = entry_date = uniq_dates = . = NULL
R/positive_control.R,46,Variable and function name style should be camelCase.,"cases[, dx_status := 1]"
R/positive_control.R,55,Variable and function name style should be camelCase.,"dxStatus[is.na(dx_status), dx_status := 0]"
R/utils.R,108,Variable and function name style should be camelCase.,n_het = n_hom = n_wt = NULL
R/utils.R,111,Variable and function name style should be camelCase.,"dCounts[, n_wt := sum(lmInput$allele_count == 0)]"
R/utils.R,112,Variable and function name style should be camelCase.,"dCounts[, n_het := sum(lmInput$allele_count == 1)]"
R/utils.R,113,Variable and function name style should be camelCase.,"dCounts[, n_hom := sum(lmInput$allele_count == 2)]"
data-raw/phers_create_data.R,71,Variable and function name style should be camelCase.,IcdCodes = icdPhecodeMap[flag == flag1 & !(icd %in% diseaseDxIcdMap[disease_id == marfanId]$icd)]$icd
data-raw/phers_create_data.R,81,Variable and function name style should be camelCase.,"icdSampleAll = icdSampleAll[, entry_date := sample(entryDates, nrow(icdSampleAll))]"
To have lintr ignore any of these issues, add the appropriate lines of those shown below to lint_ignore.csv at the top-level of the repository: