[docs] Details to performance_roc() #793
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
2m 14s
Annotations
1 error and 7 warnings
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
lint-changed-files / lint-changed-files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-changed-files / lint-changed-files:
R/check_outliers.R#L904
file=R/check_outliers.R,line=904,col=5,[spaces_left_parentheses_linter] Place a space before left parenthesis, except in a function call.
|
lint-changed-files / lint-changed-files:
R/performance_roc.R#L70
file=R/performance_roc.R,line=70,col=44,[keyword_quote_linter] Only quote targets of extraction with $ if necessary, i.e., if the name is not a valid R symbol (see ?make.names). Use backticks to create non-syntactic names, or use [[ to extract by string.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-check_outliers.R#L414
file=tests/testthat/test-check_outliers.R,line=414,col=3,[expect_identical_linter] Use expect_identical(x, y) by default; resort to expect_equal() only when needed, e.g. when setting ignore_attr= or tolerance=.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-performance_roc.R#L22
file=tests/testthat/test-performance_roc.R,line=22,col=13,[sample_int_linter] sample.int(n, m, ...) is preferable to sample(1:n, m, ...).
|
lint-changed-files / lint-changed-files:
tests/testthat/test-performance_roc.R#L22
file=tests/testthat/test-performance_roc.R,line=22,col=20,[seq_linter] Use seq_len(nrow(...)) instead of 1:nrow(...), which is likely to be wrong in the empty edge case.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-performance_roc.R#L51
file=tests/testthat/test-performance_roc.R,line=51,col=42,[numeric_leading_zero_linter] Include the leading zero for fractional numeric constants.
|