Skip to content

Use linting to detect undesired function usage #3

Use linting to detect undesired function usage

Use linting to detect undesired function usage #3

Triggered via pull request May 16, 2024 13:34
@hadleyhadley
synchronize #2541
lintr
Status Failure
Total duration 1m 44s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
lint
Process completed with exit code 31.
lint: R/utils-fs.R#L75
file=R/utils-fs.R,line=75,col=3,[undesirable_function_linter] Function "file.info" is undesirable. As an alternative, use file_info().
lint: R/utils-fs.R#L75
file=R/utils-fs.R,line=75,col=29,[undesirable_function_linter] Function "file.info" is undesirable. As an alternative, use file_info().
lint: tests/testthat/test-templates.R#L76
file=tests/testthat/test-templates.R,line=76,col=12,[undesirable_function_linter] Function "dir" is undesirable. As an alternative, use dir_ls().