Skip to content

data_to_long() did not work with labelled data frames #1896

data_to_long() did not work with labelled data frames

data_to_long() did not work with labelled data frames #1896

Triggered via pull request May 7, 2024 09:45
Status Success
Total duration 5m 40s
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/center.R#L121
file=R/center.R,line=121,col=3,[object_overwrite_linter] 'args' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/center.R#L200
file=R/center.R,line=200,col=3,[object_overwrite_linter] 'args' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/center.R#L252
file=R/center.R,line=252,col=3,[object_overwrite_linter] 'args' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/convert_na_to.R#L163
file=R/convert_na_to.R,line=163,col=3,[object_overwrite_linter] 'data' is an exported object from package 'utils'. Avoid re-using such symbols.
lint / lint: R/data_codebook.R#L235
file=R/data_codebook.R,line=235,col=7,[object_overwrite_linter] 'proportions' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/data_codebook.R#L237
file=R/data_codebook.R,line=237,col=7,[object_overwrite_linter] 'proportions' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/data_codebook.R#L248
file=R/data_codebook.R,line=248,col=7,[object_overwrite_linter] 'proportions' is an exported object from package 'base'. Avoid re-using such symbols.
lint / lint: R/data_codebook.R#L350
file=R/data_codebook.R,line=350,col=14,[nzchar_linter] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE coerces to character, so you'll have to use as.character() if x is a factor. 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] Use nzchar(x) instead of x != "". Note that unlike nzchar(), NE coerces to character, so you'll have to use as.character() if x is a factor. Whenever missing data is possible, please take care to use nzchar(., keepNA = TRUE); nzchar(NA) is TRUE by default.