super-linter: Unable to lint R files - `lintr` package missing
Describe the bug
When linting a repo containing R files (R or R Markdown), the R linting step always fails, seemingly because the lintr package is missing.
Expected behavior
Any R files in a repo are linted.
Steps to Reproduce
Activate the Super-Linter action on a repo with R files in it.
Logs
2021-04-30 23:09:59 [ERROR] Found errors in [R] linter!
2021-04-30 23:09:59 [ERROR] Error code: 1. Command output:
------
# Bootstrapping renv 0.12.5 --------------------------------------------------
* Downloading renv 0.12.5 from CRAN archive ... OK
* Installing renv 0.12.5 ... Done!
* Successfully installed and loaded renv 0.12.5.
Error in loadNamespace(name) : there is no package called ‘lintr’
Calls: :: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
------
2021-04-30 23:10:00 [INFO] ----------------------------------------------
2021-04-30 23:10:00 [INFO] ----------------------------------------------
2021-04-30 23:10:00 [INFO] The script has completed
2021-04-30 23:10:00 [INFO] ----------------------------------------------
2021-04-30 23:10:00 [INFO] ----------------------------------------------
2021-04-30 23:10:01 [ERROR] ERRORS FOUND in R:[1]
2021-04-30 23:10:02 [FATAL] Exiting with errors found!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16
@tonofshell seems to have been a pathing issue… pushing a release today