Skip to content

Failed with GitLab CI #166

@artemklevtsov

Description

@artemklevtsov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorfeaturea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions