I get lintr-bot comments in triplicate on PRs, presumably from tests running on travis on three R builds. (example) Is there an easy way to fix this?
test-lint.R:
context("lints")
test_that("Package is lint free", {
skip_on_appveyor()
lintr::expect_lint_free(
linters = lintr::with_defaults(camel_case_linter = NULL,
line_length_linter = NULL,
object_usage_linter = NULL)
)
})
.travis.yml:
language: r
sudo: false
cache: packages
dist: trusty
...
env:
r:
- oldrel
- release
- devel
matrix:
allow_failures:
- r: devel
r_packages:
- covr
addons:
apt:
packages:
- libnlopt-dev
after_success:
- Rscript -e 'covr::codecov()'