Skip to content

Commit

Permalink
Copying .lintr to testthat dir
Browse files Browse the repository at this point in the history
  • Loading branch information
csgillespie committed May 17, 2019
1 parent f085458 commit 02a3a78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
^.*\.Rproj$
^\.Rproj\.user$
^README\.Rmd$
Rplots.pdf
^.travis.yml$
Rplots\.pdf
^\.travis\.yml$
^cran-comments\.md$
^.lintr$

^\.lintr$
^tests/testthat/\.lintr$

2 comments on commit 02a3a78

@lintr-bot
Copy link

Choose a reason for hiding this comment

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

tests/testthat.R:6:3: style: Commented code should be removed.

# vdiffr::manage_cases()
  ^~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test_boxplot.R:4:5: style: Use <-, not =, for assignment.

x = rlnorm(100)
    ^

tests/testthat/test_hist.R:4:5: style: Use <-, not =, for assignment.

x = rlnorm(100)
    ^

tests/testthat/test_plot.R:11:8: style: Use <-, not =, for assignment.

op = par(mfrow = c(1, 2))
       ^

tests/testthat/test_s3_plot.R:5:7: style: Use <-, not =, for assignment.

m = lm(1:10 ~ rnorm(10))
      ^

@lintr-bot
Copy link

Choose a reason for hiding this comment

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

tests/testthat.R:6:3: style: Commented code should be removed.

# vdiffr::manage_cases()
  ^~~~~~~~~~~~~~~~~~~~~~

tests/testthat/test_boxplot.R:4:5: style: Use <-, not =, for assignment.

x = rlnorm(100)
    ^

tests/testthat/test_hist.R:4:5: style: Use <-, not =, for assignment.

x = rlnorm(100)
    ^

tests/testthat/test_plot.R:11:8: style: Use <-, not =, for assignment.

op = par(mfrow = c(1, 2))
       ^

tests/testthat/test_s3_plot.R:5:7: style: Use <-, not =, for assignment.

m = lm(1:10 ~ rnorm(10))
      ^

Please sign in to comment.