Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed with GitLab CI #166

Closed
artemklevtsov opened this issue Sep 1, 2016 · 1 comment
Closed

Failed with GitLab CI #166

artemklevtsov opened this issue Sep 1, 2016 · 1 comment
Labels
bug an unexpected problem or unintended behavior feature a feature request or enhancement

Comments

@artemklevtsov
Copy link

artemklevtsov commented Sep 1, 2016

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:

I find a simple workaround: to unset CI environment variable.

TheZetner pushed a commit to phac-nml/plasmidprofiler that referenced this issue Feb 7, 2017
@xanderdunn
Copy link

I have this same issue in CircleCI 2.0. Adding export CI="" before the lint step also worked for me.

@jimhester jimhester added bug an unexpected problem or unintended behavior enhancement labels Aug 16, 2017
@jimhester jimhester added feature a feature request or enhancement and removed enhancement labels May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants