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

macOS CI R jobs fail #3875

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

macOS CI R jobs fail #3875

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

Comments

@StrikerRUS
Copy link
Collaborator

Can be observed in #3874.
Refer to https://github.com/microsoft/LightGBM/pull/3874/checks?check_run_id=1784106648

* checking tests ...
  Running ‘testthat.R’
 � ERROR
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(lightgbm)
  Loading required package: R6
  > 
  > test_check(
  +     package = "lightgbm"
  +     , stop_on_failure = TRUE
  +     , stop_on_warning = FALSE
  + )
  Error in loadNamespace(name) : there is no package called 'withr'
  Calls: test_check ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
  Execution halted
@StrikerRUS
Copy link
Collaborator Author

cc @jameslamb

@jameslamb
Copy link
Collaborator

ah! will look right now

@StrikerRUS
Copy link
Collaborator Author

Only R 4.x both CRAN and CMake jobs are affected.

StrikerRUS pushed a commit that referenced this issue Jan 28, 2021
 #3875) (#3876)

* [ci] fall back to source installs of R packages if binary missing

* source option

* changing source policy

* install withr separately

* uncomment CI
@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