Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
638014d5
Unverified
Commit
638014d5
authored
Apr 07, 2023
by
James Lamb
Committed by
GitHub
Apr 07, 2023
Browse files
[ci] remove pin on tinytex in R CI jobs (#5821)
parent
1f1ed5b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
.ci/test_r_package.sh
.ci/test_r_package.sh
+6
-0
.github/workflows/r_package.yml
.github/workflows/r_package.yml
+0
-3
No files found.
.ci/test_r_package.sh
View file @
638014d5
...
...
@@ -118,6 +118,12 @@ if [[ $OS_NAME == "macos" ]]; then
fi
fi
# fix for issue where CRAN was not returning {lattice} when using R 3.6
# "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
# Manually install Depends and Imports libraries + 'knitr', 'RhpcBLASctl', 'rmarkdown', 'testthat'
# to avoid a CI-time dependency on devtools (for devtools::install_deps())
# NOTE: testthat is not required when running rchk
...
...
.github/workflows/r_package.yml
View file @
638014d5
...
...
@@ -197,9 +197,6 @@ jobs:
env
:
CTAN_MIRROR
:
https://ctan.math.illinois.edu/systems/win32/miktex
TINYTEX_INSTALLER
:
TinyTeX
# pinning to an old version to address breaking changes to paths not being available yet
# (ref: https://github.com/r-lib/actions/issues/713#issuecomment-1481293175)
TINYTEX_VERSION
:
'
2023.03'
-
name
:
Setup and run tests on Linux and macOS
if
:
matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest'
shell
:
bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment