-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfeaturea feature request or enhancementa feature request or enhancement
Description
I tried to use lintr
for the package testing with the GitLab CI. I got the following error:
$ Rscript -e 'lintr::lint_package()'
Error in httr::status_code(response) : object 'response' not found
Calls: <Anonymous> -> print.lints -> github_comment -> <Anonymous>
Execution halted
Now ci_type()
support only Travis CI and Wercker CI on Github.
Seems reason of the error in the following rows:
- https://github.com/jimhester/lintr/blob/a769c0b8be6740329d8d855f230e6ff3c31175c1/R/methods.R#L60
- https://github.com/jimhester/lintr/blob/a769c0b8be6740329d8d855f230e6ff3c31175c1/R/methods.R#L70
I find a simple workaround: to unset CI
environment variable.
ChrisBirkett, IlyaOrson and ilarischeinin
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfeaturea feature request or enhancementa feature request or enhancement