Add metrics parameter to data_tabulate()
#1772
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
1m 25s
Annotations
1 error and 4 warnings
|
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-data_match.R#L242
file=tests/testthat/test-data_match.R,line=242,col=5,[object_overwrite_linter] 'var' is an exported object from package 'stats'. Avoid re-using such symbols.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-data_match.R#L54
file=tests/testthat/test-data_match.R,line=54,col=9,[nrow_subset_linter] Use arithmetic to count the number of rows satisfying a condition, rather than fully subsetting the data.frame and counting the resulting rows. For example, replace nrow(subset(x, is_treatment)) with sum(x$is_treatment). NB: use na.rm = TRUE if `is_treatment` has missing values.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-data_match.R#L44
file=tests/testthat/test-data_match.R,line=44,col=9,[nrow_subset_linter] Use arithmetic to count the number of rows satisfying a condition, rather than fully subsetting the data.frame and counting the resulting rows. For example, replace nrow(subset(x, is_treatment)) with sum(x$is_treatment). NB: use na.rm = TRUE if `is_treatment` has missing values.
|
|
lint-changed-files / lint-changed-files:
tests/testthat/test-data_match.R#L34
file=tests/testthat/test-data_match.R,line=34,col=9,[nrow_subset_linter] Use arithmetic to count the number of rows satisfying a condition, rather than fully subsetting the data.frame and counting the resulting rows. For example, replace nrow(subset(x, is_treatment)) with sum(x$is_treatment). NB: use na.rm = TRUE if `is_treatment` has missing values.
|