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_diagnosis.R,29,Variable and function name style should be camelCase.,dx_status = occurrence_age = uniq_ages = . = NULL
R/phers.R,26,Variable and function name style should be camelCase.,flag = icd = person_id = . = NULL
R/phers.R,67,Variable and function name style should be camelCase.,person_id = phecode = disease_id = w = score = . = NULL
R/phers.R,105,Variable and function name style should be camelCase.,disease_id = diseaseId = resid_score = . = person_id = score = NULL
R/utils.R,186,Variable and function name style should be camelCase.,n_het = n_hom = n_wt = NULL
R/weights.R,2,Variable and function name style should be camelCase.,phecode = person_id = . = pred = w = dx_status = NULL
R/weights.R,23,Variable and function name style should be camelCase.,phecode = person_id = . = pred = w = dx_status = NULL
R/weights.R,49,Variable and function name style should be camelCase.,phecode = person_id = . = w = phe = dx_status = pred = NULL
R/weights.R,61,Commas should never have a space before.,"fit, newdata = .SD , type = 'response', se.fit = FALSE)]"
R/weights.R,74,Variable and function name style should be camelCase.,phecode = person_id = . = w = phe = pred = num_occurrences = NULL
R/weights.R,96,Variable and function name style should be camelCase.,phecode = person_id = . = w = phe = dx_status = pred = occurrence_age =
R/weights.R,97,Variable and function name style should be camelCase.,first_age = last_age = age2 = NULL
Warning, lint_ignore.csv contains lines not found in the current code:
R/genetic_association.R line 55: Variable and function name style should be camelCase.
```r
diseaseId = disease_id = snp = allele_count = count = N = variant_id = person_id = NULL
R/genetic_association.R line 67: Variable and function name style should be camelCase.
lmInput[, person_id := as.character(person_id)]
R/genetic_association.R line 102: Variable and function name style should be camelCase.
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:
R/genetic_association.R line 67: Variable and function name style should be camelCase.
R/genetic_association.R line 102: Variable and function name style should be camelCase.
R/genetic_association.R line 103: Variable and function name style should be camelCase.
R/genetic_association.R line 111: Variable and function name style should be camelCase.
R/genetic_association.R line 114: Variable and function name style should be camelCase.
R/genetic_association.R line 115: Variable and function name style should be camelCase.
R/genetic_association.R line 118: Variable and function name style should be camelCase.
R/genetic_association.R line 135: Variable and function name style should be camelCase.
R/genetic_association.R line 136: Variable and function name style should be camelCase.
R/genetic_diagnosis.R line 31: Variable and function name style should be camelCase.
R/genetic_diagnosis.R line 46: Variable and function name style should be camelCase.
R/genetic_diagnosis.R line 47: Variable and function name style should be camelCase.
R/genetic_diagnosis.R line 53: Variable and function name style should be camelCase.
R/phers.R line 36: Variable and function name style should be camelCase.
R/phers.R line 77: Variable and function name style should be camelCase.
R/phers.R line 114: Variable and function name style should be camelCase.
R/phers.R line 158: Variable and function name style should be camelCase.
R/utils.R line 138: Variable and function name style should be camelCase.
R/utils.R line 140: Variable and function name style should be camelCase.
R/utils.R line 141: Variable and function name style should be camelCase.
R/utils.R line 142: Variable and function name style should be camelCase.
data-raw/phers_create_data.R line 88: Variable and function name style should be camelCase.
data-raw/phers_create_data.R line 95: Variable and function name style should be camelCase.