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

[ci] remove pin on tinytex in R CI jobs #5821

Merged
merged 3 commits into from
Apr 7, 2023
Merged

Conversation

jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Apr 6, 2023

Reverts part of #5807.

Windows R jobs are failing on master with the same error as reported in #5802.

I suspect the root cause is that the changes from r-lib/actions#712 have now made it into v2 of the r-lib/setup-tinytex action.

@jameslamb jameslamb marked this pull request as ready for review April 6, 2023 02:26
@jameslamb jameslamb changed the title [ci] remove pin on tinytex [ci] remove pin on tinytex in R CI jobs Apr 6, 2023
# "Warning: dependency ‘lattice’ is not available"
if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
Rscript --vanilla -e "install.packages('lattice', repos = 'https://mran.microsoft.com', lib = '${R_LIB_PATH}')"
fi
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't totally understand, but it seems like CRAN (both from RStudio and the official CRAN) have stopped serving {lattice} to R 3.6 🤷🏻

official CRAN

docker run \
    --rm \
    rocker/verse:3.6 \
    Rscript -e "install.packages('lattice', repos = 'https://cran.r-project.org')"
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning message:
package ‘lattice’ is not available (for R version 3.6.0)

RStudio

docker run \
    --rm \
    rocker/verse:3.6 \
    Rscript -e "install.packages('lattice', repos = 'https://cran.rstudio.com')"
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning message:
package ‘lattice’ is not available (for R version 3.6.0)

MRAN

docker run \
    --rm \
    rocker/verse:3.6 \
    Rscript -e "install.packages('lattice', repos = 'https://mran.microsoft.com')"
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://mran.microsoft.com/src/contrib/lattice_0.20-45.tar.gz'
Content type 'application/octet-stream' length 399470 bytes (390 KB)
==================================================
downloaded 390 KB

* installing *source* package ‘lattice’ ...
...
* DONE (lattice)

@github-actions
Copy link

This pull request 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 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants