You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by iw...@apache.org on 2023/12/23 15:11:30 UTC
(bigtop) 01/02: BIGTOP-4013. Fix toolchain to install R 3.6.0+ into Debian 10. (#1186)
This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/bigtop.git
commit 3c0a576914594059687233623d8c7405887a99b8
Author: Kengo Seki <se...@apache.org>
AuthorDate: Wed Oct 18 13:27:30 2023 +0900
BIGTOP-4013. Fix toolchain to install R 3.6.0+ into Debian 10. (#1186)
(cherry picked from commit f4d65ae97b484c8e01efa936948ed01574f149d2)
---
bigtop_toolchain/manifests/renv.pp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bigtop_toolchain/manifests/renv.pp b/bigtop_toolchain/manifests/renv.pp
index 9ac3138fa..9434b0145 100644
--- a/bigtop_toolchain/manifests/renv.pp
+++ b/bigtop_toolchain/manifests/renv.pp
@@ -34,7 +34,7 @@ class bigtop_toolchain::renv {
}
/(Ubuntu|Debian)/: {
if (($operatingsystem == 'Ubuntu' and versioncmp($operatingsystemmajrelease, '18.04') <= 0) or
- ($operatingsystem == 'Debian' and versioncmp($operatingsystemmajrelease, '10') < 0)) {
+ ($operatingsystem == 'Debian' and versioncmp($operatingsystemmajrelease, '10') <= 0)) {
$pkgs = [
"r-base-dev",
"libcairo2-dev",
@@ -61,7 +61,7 @@ class bigtop_toolchain::renv {
#
# Then Install required R packages dependency
if (($operatingsystem == 'Ubuntu' and versioncmp($operatingsystemmajrelease, '18.04') <= 0) or
- ($operatingsystem == 'Debian' and versioncmp($operatingsystemmajrelease, '10') < 0)) {
+ ($operatingsystem == 'Debian' and versioncmp($operatingsystemmajrelease, '10') <= 0)) {
$url = "https://cran.r-project.org/src/base/R-3/"
$rfile = "R-3.6.3.tar.gz"
$rdir = "R-3.6.3"