Skip to content

Commit

Permalink
cran submissions 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Dec 18, 2019
1 parent c39019c commit 63babd4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This package was submitted to CRAN on 2019-12-18.
Once it is accepted, delete this file and tag the release (commit c39019cc24).
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ Suggests:
stringr,
survival,
testthat
Remotes:
IndrajeetPatil/statsExpressions
VignetteBuilder:
knitr
Encoding: UTF-8
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://github.com/IndrajeetPatil/statsExpressions"
"sameAs": "https://CRAN.R-project.org/package=statsExpressions"
},
{
"@type": "SoftwareApplication",
Expand Down
5 changes: 1 addition & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@

0 errors | 0 warnings | 1 notes

- Makes `ggstatsplot` compatible with the new release of `skimr 2.0`.
- Some of the examples might take more than 5 seconds to run. Haven't skipped
them because I am skipping all tests in daily `CRAN` checks and so it's
important that at least the examples are checked on a daily basis.
- Makes `ggstatsplot` compatible with the new release of `paletteer`.

2 comments on commit 63babd4

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/ggbarstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 20.

ggbarstats <- function(data,
^

R/ggbetweenstats.R:199:1: style: functions should have cyclomatic complexity of less than 15, this has 32.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:286:1: style: functions should have cyclomatic complexity of less than 15, this has 59.

ggcoefstats <- function(x,
^

R/ggcorrmat.R:171:1: style: functions should have cyclomatic complexity of less than 15, this has 29.

ggcorrmat <- function(data,
^

R/gghistostats.R:80:1: style: functions should have cyclomatic complexity of less than 15, this has 24.

gghistostats <- function(data,
^

R/ggpiestats.R:112:1: style: functions should have cyclomatic complexity of less than 15, this has 22.

ggpiestats <- function(data,
^

R/ggscatterstats.R:100:1: style: functions should have cyclomatic complexity of less than 15, this has 34.

ggscatterstats <- function(data,
^

R/ggwithinstats.R:63:1: style: functions should have cyclomatic complexity of less than 15, this has 30.

ggwithinstats <- function(data,
^

R/helpers_gghistostats_graphics.R:13:5: warning: local variable ‘label.value’ assigned but may not be used

label.value <- x_pos
    ^~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:159:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[4]]), c(7L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:161:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[6]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:464:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[3]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:466:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[5]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:473:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[3]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:475:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[5]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcoefstats.R:71:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[4]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcoefstats.R:1214:11: style: Commented code should be removed.

#     "list(~italic(beta)==-0.15, ~italic(t)==-0.93, ~italic(p)== 0.352)"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggscatterstats.R:64:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[7]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggwithinstats.R:60:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[7]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggwithinstats.R:133:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[4]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggwithinstats.R:135:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[6]]), c(3L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-helpers_ggbetweenstats.R:47:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb_mean$data[[3]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/ggbarstats.R:68:1: style: functions should have cyclomatic complexity of less than 15, this has 20.

ggbarstats <- function(data,
^

R/ggbetweenstats.R:199:1: style: functions should have cyclomatic complexity of less than 15, this has 32.

ggbetweenstats <- function(data,
^

R/ggcoefstats.R:286:1: style: functions should have cyclomatic complexity of less than 15, this has 59.

ggcoefstats <- function(x,
^

R/ggcorrmat.R:171:1: style: functions should have cyclomatic complexity of less than 15, this has 29.

ggcorrmat <- function(data,
^

R/gghistostats.R:80:1: style: functions should have cyclomatic complexity of less than 15, this has 24.

gghistostats <- function(data,
^

R/ggpiestats.R:112:1: style: functions should have cyclomatic complexity of less than 15, this has 22.

ggpiestats <- function(data,
^

R/ggscatterstats.R:100:1: style: functions should have cyclomatic complexity of less than 15, this has 34.

ggscatterstats <- function(data,
^

R/ggwithinstats.R:63:1: style: functions should have cyclomatic complexity of less than 15, this has 30.

ggwithinstats <- function(data,
^

R/helpers_gghistostats_graphics.R:13:5: warning: local variable ‘label.value’ assigned but may not be used

label.value <- x_pos
    ^~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:159:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[4]]), c(7L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:161:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[6]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:464:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[3]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:466:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[5]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:473:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[3]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggbetweenstats.R:475:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[5]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcoefstats.R:71:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[4]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggcoefstats.R:1214:11: style: Commented code should be removed.

#     "list(~italic(beta)==-0.15, ~italic(t)==-0.93, ~italic(p)== 0.352)"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggscatterstats.R:64:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb$data[[7]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggwithinstats.R:60:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[7]]), c(2L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggwithinstats.R:133:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[4]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-ggwithinstats.R:135:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb1$data[[6]]), c(3L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test-helpers_ggbetweenstats.R:47:7: style: Commented code should be removed.

# testthat::expect_equal(dim(pb_mean$data[[3]]), c(4L, 15L))
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please sign in to comment.