Skip to content

support haven_labelled-class #1695

support haven_labelled-class

support haven_labelled-class #1695

Triggered via pull request November 19, 2023 19:01
Status Success
Total duration 4m 17s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint / lint: R/adjust.R#L33
file=R/adjust.R,line=33,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 127 characters.
lint / lint: R/assign_labels.R#L82
file=R/assign_labels.R,line=82,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 125 characters.
lint / lint: R/data_arrange.R#L49
file=R/data_arrange.R,line=49,col=9,[if_not_else_linter] In a simple if/else statement, prefer `if (A) x else y` to the less-readable `if (!A) y else x`.
lint / lint: R/data_codebook.R#L350
file=R/data_codebook.R,line=350,col=14,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/data_codebook.R#L350
file=R/data_codebook.R,line=350,col=45,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/data_codebook.R#L352
file=R/data_codebook.R,line=352,col=14,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/data_codebook.R#L354
file=R/data_codebook.R,line=354,col=29,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/data_codebook.R#L355
file=R/data_codebook.R,line=355,col=14,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/data_codebook.R#L391
file=R/data_codebook.R,line=391,col=52,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.
lint / lint: R/data_codebook.R#L408
file=R/data_codebook.R,line=408,col=45,[nzchar_linter] Instead of comparing strings to "", use nzchar(). Note that if x is a factor, you'll have use as.character() to replicate an implicit conversion that happens in x == "". Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.