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

R-lintr failures at CI #3873

Closed
StrikerRUS opened this issue Jan 28, 2021 · 4 comments · Fixed by #3877
Closed

R-lintr failures at CI #3873

StrikerRUS opened this issue Jan 28, 2021 · 4 comments · Fixed by #3877

Comments

@StrikerRUS
Copy link
Collaborator

StrikerRUS commented Jan 28, 2021

Our R-lintr CI is broken. I see this error in master, #3866 and #3872.

https://github.com/microsoft/LightGBM/runs/1783657796

Warning message:
package ‘lintr’ was built under R version 3.6.3 
[1] 49 R files need linting
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace ‘xfun’ 0.15 is being loaded, but >= 0.19 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
@StrikerRUS
Copy link
Collaborator Author

cc @jameslamb

@jameslamb
Copy link
Collaborator

ok looking into this one now

@jameslamb
Copy link
Collaborator

The most recent release of r-lintr on conda-forge was 8 months ago. https://anaconda.org/conda-forge/r-lintr/files

So one of its dependencies must have broken it 😕

jameslamb added a commit that referenced this issue Jan 28, 2021
jameslamb added a commit that referenced this issue Jan 28, 2021
* [ci] fix R linting job (fixes #3873)

* need to run static analysis

* uncomment CI configs

* Update .ci/test.sh
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants