Running 'testthat.R' [21s/23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(lintr)
  > 
  > test_check("lintr")
  -- 1. Error: returns the correct linting (@test-assignment_linter.R#12)  -------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 2. Error: returns the correct linting (@test-commented_code_linter.R#40)  ---
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 3. Error: returns the correct linting (@test-equals_na_linter.R#8)  ---------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint("x=NA", NULL, equals_na_linter)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 4. Error: it excludes properly (@test-exclusions.R#190)  --------------------
  expected '>' [73]
  Backtrace:
   1. lintr::lint("exclusions-test")
   2. lintr::get_source_expressions(filename)
   3. base::lapply(...)
   4. lintr:::FUN(X[[i]], ...)
   6. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   7. xml2:::read_xml.raw(...)
   8. xml2:::doc_parse_raw(...)
  
  -- 5. Error: no checks (@test-expect_lint.R#13)  -------------------------------
  expected '>' [73]
  Backtrace:
    1. testthat::expect_success(expect_lint("a=1", NULL, list()))
    7. lintr::expect_lint("a=1", NULL, list())
    8. lintr::lint(file, ...)
    9. lintr::get_source_expressions(filename)
   10. base::lapply(...)
   11. lintr:::FUN(X[[i]], ...)
   13. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   14. xml2:::read_xml.raw(...)
   15. xml2:::doc_parse_raw(...)
  
  -- 6. Error: single check (@test-expect_lint.R#21)  ----------------------------
  expected '>' [73]
  Backtrace:
    1. testthat::expect_success(...)
    7. lintr::expect_lint(content = "a=1", checks = msg, linters = linter)
    8. lintr::lint(file, ...)
    9. lintr::get_source_expressions(filename)
   10. base::lapply(...)
   11. lintr:::FUN(X[[i]], ...)
   13. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   14. xml2:::read_xml.raw(...)
   15. xml2:::doc_parse_raw(...)
  
  -- 7. Error: multiple checks (@test-expect_lint.R#38)  -------------------------
  expected '>' [73]
  Backtrace:
    1. testthat::expect_success(...)
    7. lintr::expect_lint(...)
    8. lintr::lint(file, ...)
    9. lintr::get_source_expressions(filename)
   10. base::lapply(...)
   11. lintr:::FUN(X[[i]], ...)
   13. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   14. xml2:::read_xml.raw(...)
   15. xml2:::doc_parse_raw(...)
  
  -- 8. Error: returns the correct linting (@test-infix_spaces_linter.R#30)  -----
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(paste0("1 ", op, " 2"), NULL, infix_spaces_linter)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 9. Error: it handles dir (@test-knitr_formats.R#4)  -------------------------
  expected '>' [73]
  Backtrace:
    1. lintr::lint_dir(...)
    6. base::lapply(...)
    7. lintr:::FUN(X[[i]], ...)
    8. lintr::lint(file, ..., parse_settings = FALSE, exclusions = exclusions)
    9. lintr::get_source_expressions(filename)
   10. base::lapply(...)
   11. lintr:::FUN(X[[i]], ...)
   13. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   14. xml2:::read_xml.raw(...)
   15. xml2:::doc_parse_raw(...)
  
  -- 10. Error: it handles markdown (@test-knitr_formats.R#13)  ------------------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 11. Error: it handles Sweave (@test-knitr_formats.R#24)  --------------------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 12. Error: it handles reStructuredText (@test-knitr_formats.R#35)  ----------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 13. Error: it handles HTML (@test-knitr_formats.R#46)  ----------------------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 14. Error: it handles tex (@test-knitr_formats.R#57)  -----------------------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 15. Error: it handles asciidoc (@test-knitr_formats.R#68)  ------------------
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 16. Error: summary.lints() works (lints found) (@test-methods.R#78)  --------
  expected '>' [73]
  Backtrace:
   1. lintr::lint("x = 1\n", linters = assignment_linter)
   2. lintr::get_source_expressions(filename)
   3. base::lapply(...)
   4. lintr:::FUN(X[[i]], ...)
   6. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   7. xml2:::read_xml.raw(...)
   8. xml2:::doc_parse_raw(...)
  
  -- 17. Error: linter returns correct linting (@test-object_name_linter.R#60)  --
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  -- 18. Error: replace_functions_stripped (@test-object_usage_linter.R#73)  -----
  expected '>' [73]
  Backtrace:
   1. lintr::expect_lint(...)
   2. lintr::lint(file, ...)
   3. lintr::get_source_expressions(filename)
   4. base::lapply(...)
   5. lintr:::FUN(X[[i]], ...)
   7. xml2:::read_xml.character(xmlparsedata::xml_parse_data(pc))
   8. xml2:::read_xml.raw(...)
   9. xml2:::doc_parse_raw(...)
  
  == testthat results  ===========================================================
  [ OK: 758 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 18 ]
  1. Error: returns the correct linting (@test-assignment_linter.R#12) 
  2. Error: returns the correct linting (@test-commented_code_linter.R#40) 
  3. Error: returns the correct linting (@test-equals_na_linter.R#8) 
  4. Error: it excludes properly (@test-exclusions.R#190) 
  5. Error: no checks (@test-expect_lint.R#13) 
  6. Error: single check (@test-expect_lint.R#21) 
  7. Error: multiple checks (@test-expect_lint.R#38) 
  8. Error: returns the correct linting (@test-infix_spaces_linter.R#30) 
  9. Error: it handles dir (@test-knitr_formats.R#4) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted