New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adjust tests for statsExpressions changes; more args cleanup #405
Conversation
R/ggbarstats.R:51:1: style: functions should have cyclomatic complexity of less than 15, this has 17. ggbarstats <- function(data,
^ R/ggbetweenstats.R:191:1: style: functions should have cyclomatic complexity of less than 15, this has 26. ggbetweenstats <- function(data,
^ R/ggcoefstats.R:273:1: style: functions should have cyclomatic complexity of less than 15, this has 54. ggcoefstats <- function(x,
^ R/gghistostats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 19. gghistostats <- function(data,
^ R/ggpiestats.R:88:1: style: functions should have cyclomatic complexity of less than 15, this has 20. ggpiestats <- function(data,
^ R/ggscatterstats.R:94:1: style: functions should have cyclomatic complexity of less than 15, this has 29. ggscatterstats <- function(data,
^ R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 24. ggwithinstats <- function(data,
^ tests/testthat/test-ggcoefstats.R:339:1: style: Lines should not be more than 100 characters. "list(~italic(F)(1*\",\"*28)==118.89, ~italic(p)<= 0.001, ~widehat(italic(eta)[p]^2)==0.81)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcoefstats.R:411:1: style: Lines should not be more than 100 characters. "list(~italic(F)(3*\",\"*35)==7.388, ~italic(p)== 0.001, ~widehat(italic(omega)[p]^2)==0.308)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcoefstats.R:412:1: style: Lines should not be more than 100 characters. "list(~italic(F)(1*\",\"*35)==2.034, ~italic(p)== 0.163, ~widehat(italic(omega)[p]^2)==0.023)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcoefstats.R:413:1: style: Lines should not be more than 100 characters. "list(~italic(F)(3*\",\"*35)==4.012, ~italic(p)== 0.015, ~widehat(italic(omega)[p]^2)==0.174)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcorrmat.R:243:7: style: Commented code should be removed. # testthat::expect_equal(dim(pb$data[[3]]), c(1L, 10L))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
1 similar comment
R/ggbarstats.R:51:1: style: functions should have cyclomatic complexity of less than 15, this has 17. ggbarstats <- function(data,
^ R/ggbetweenstats.R:191:1: style: functions should have cyclomatic complexity of less than 15, this has 26. ggbetweenstats <- function(data,
^ R/ggcoefstats.R:273:1: style: functions should have cyclomatic complexity of less than 15, this has 54. ggcoefstats <- function(x,
^ R/gghistostats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 19. gghistostats <- function(data,
^ R/ggpiestats.R:88:1: style: functions should have cyclomatic complexity of less than 15, this has 20. ggpiestats <- function(data,
^ R/ggscatterstats.R:94:1: style: functions should have cyclomatic complexity of less than 15, this has 29. ggscatterstats <- function(data,
^ R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 24. ggwithinstats <- function(data,
^ tests/testthat/test-ggcoefstats.R:339:1: style: Lines should not be more than 100 characters. "list(~italic(F)(1*\",\"*28)==118.89, ~italic(p)<= 0.001, ~widehat(italic(eta)[p]^2)==0.81)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcoefstats.R:411:1: style: Lines should not be more than 100 characters. "list(~italic(F)(3*\",\"*35)==7.388, ~italic(p)== 0.001, ~widehat(italic(omega)[p]^2)==0.308)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcoefstats.R:412:1: style: Lines should not be more than 100 characters. "list(~italic(F)(1*\",\"*35)==2.034, ~italic(p)== 0.163, ~widehat(italic(omega)[p]^2)==0.023)",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcoefstats.R:413:1: style: Lines should not be more than 100 characters. "list(~italic(F)(3*\",\"*35)==4.012, ~italic(p)== 0.015, ~widehat(italic(omega)[p]^2)==0.174)"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tests/testthat/test-ggcorrmat.R:243:7: style: Commented code should be removed. # testthat::expect_equal(dim(pb$data[[3]]), c(1L, 10L))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Codecov Report
@@ Coverage Diff @@
## master #405 +/- ##
=============================================
- Coverage 99.957% 99.955% -0.002%
=============================================
Files 27 27
Lines 2332 2234 -98
=============================================
- Hits 2331 2233 -98
Misses 1 1
|
R/ggbarstats.R:51:1: style: functions should have cyclomatic complexity of less than 15, this has 17. ggbarstats <- function(data,
^ R/ggbetweenstats.R:191:1: style: functions should have cyclomatic complexity of less than 15, this has 26. ggbetweenstats <- function(data,
^ R/ggcoefstats.R:273:1: style: functions should have cyclomatic complexity of less than 15, this has 54. ggcoefstats <- function(x,
^ R/gghistostats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 19. gghistostats <- function(data,
^ R/ggpiestats.R:88:1: style: functions should have cyclomatic complexity of less than 15, this has 20. ggpiestats <- function(data,
^ R/ggscatterstats.R:94:1: style: functions should have cyclomatic complexity of less than 15, this has 29. ggscatterstats <- function(data,
^ R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 24. ggwithinstats <- function(data,
^ |
1 similar comment
R/ggbarstats.R:51:1: style: functions should have cyclomatic complexity of less than 15, this has 17. ggbarstats <- function(data,
^ R/ggbetweenstats.R:191:1: style: functions should have cyclomatic complexity of less than 15, this has 26. ggbetweenstats <- function(data,
^ R/ggcoefstats.R:273:1: style: functions should have cyclomatic complexity of less than 15, this has 54. ggcoefstats <- function(x,
^ R/gghistostats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 19. gghistostats <- function(data,
^ R/ggpiestats.R:88:1: style: functions should have cyclomatic complexity of less than 15, this has 20. ggpiestats <- function(data,
^ R/ggscatterstats.R:94:1: style: functions should have cyclomatic complexity of less than 15, this has 29. ggscatterstats <- function(data,
^ R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 24. ggwithinstats <- function(data,
^ |
R/ggbarstats.R:51:1: style: functions should have cyclomatic complexity of less than 15, this has 17. ggbarstats <- function(data,
^ R/ggbetweenstats.R:191:1: style: functions should have cyclomatic complexity of less than 15, this has 26. ggbetweenstats <- function(data,
^ R/ggcoefstats.R:273:1: style: functions should have cyclomatic complexity of less than 15, this has 54. ggcoefstats <- function(x,
^ R/gghistostats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 19. gghistostats <- function(data,
^ R/ggpiestats.R:88:1: style: functions should have cyclomatic complexity of less than 15, this has 20. ggpiestats <- function(data,
^ R/ggscatterstats.R:94:1: style: functions should have cyclomatic complexity of less than 15, this has 29. ggscatterstats <- function(data,
^ R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 24. ggwithinstats <- function(data,
^ |
1 similar comment
R/ggbarstats.R:51:1: style: functions should have cyclomatic complexity of less than 15, this has 17. ggbarstats <- function(data,
^ R/ggbetweenstats.R:191:1: style: functions should have cyclomatic complexity of less than 15, this has 26. ggbetweenstats <- function(data,
^ R/ggcoefstats.R:273:1: style: functions should have cyclomatic complexity of less than 15, this has 54. ggcoefstats <- function(x,
^ R/gghistostats.R:70:1: style: functions should have cyclomatic complexity of less than 15, this has 19. gghistostats <- function(data,
^ R/ggpiestats.R:88:1: style: functions should have cyclomatic complexity of less than 15, this has 20. ggpiestats <- function(data,
^ R/ggscatterstats.R:94:1: style: functions should have cyclomatic complexity of less than 15, this has 29. ggscatterstats <- function(data,
^ R/ggwithinstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 24. ggwithinstats <- function(data,
^ |
No description provided.