From 4b7b9834bfdd14fcaecdaef6e85c54f69e61f18c Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 7 Feb 2021 16:50:32 +0300 Subject: [PATCH 1/4] Update r_solaris.yml --- .github/workflows/r_solaris.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/r_solaris.yml b/.github/workflows/r_solaris.yml index bd22a892854d..b11c0182312f 100644 --- a/.github/workflows/r_solaris.yml +++ b/.github/workflows/r_solaris.yml @@ -53,7 +53,7 @@ jobs: while IFS= read -r line; do platform=${line%@*} url=${line#*@} - body="${body}${platform}: ${url}\r\n" + body="${body}**${platform}**: ${url}\r\n" done < "$GITHUB_WORKSPACE/rhub_logs.txt" || true body="${body}Reports also have been sent to LightGBM public e-mail: http://www.yopmail.com/lightgbm_rhub_checks\r\n" body="${body}Status: ${{ job.status }}." From 35b66c34996e15c9aea52285fe7ed3b74515032f Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 7 Feb 2021 16:55:25 +0300 Subject: [PATCH 2/4] Update run_rhub_solaris_checks.R --- .ci/run_rhub_solaris_checks.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/run_rhub_solaris_checks.R b/.ci/run_rhub_solaris_checks.R index 193cd1eff202..8b60d2d63796 100644 --- a/.ci/run_rhub_solaris_checks.R +++ b/.ci/run_rhub_solaris_checks.R @@ -9,9 +9,13 @@ email <- c( 150L, 147L, 145L, 146L, 158L, 145L, 140L, 151L, 137L, 156L, 146L, 159L, 140L, 137L, 141L, 146L, 143L, 141L, 149L, 157L, 106L, 163L, 153L, 154L, 151L, 139L, 147L, 150L, 88L, 141L, 153L, 151L ) +token = c( + 91L, 98L, 91L, 142L, 142L, 99L, 96L, 91L, 98L, 94L, 99L, 92L, 94L, 144L, 90L, 139L, + 139L, 143L, 139L, 91L, 99L, 142L, 97L, 93L, 144L, 99L, 139L, 143L, 97L, 99L, 97L, 94L +) rhub::validate_email( email = intToUtf8(email - 42L) - , token = "181dd96184924f0aaea19d73f9ae7974" + , token = intToUtf8(token - 42L) ) if (Sys.info()["sysname"] == "Windows") { From 860f20da568b455f0244d0c5998cfa2d5ad132ce Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 7 Feb 2021 16:59:43 +0300 Subject: [PATCH 3/4] Update run_rhub_solaris_checks.R --- .ci/run_rhub_solaris_checks.R | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.ci/run_rhub_solaris_checks.R b/.ci/run_rhub_solaris_checks.R index 8b60d2d63796..d18ca3993321 100644 --- a/.ci/run_rhub_solaris_checks.R +++ b/.ci/run_rhub_solaris_checks.R @@ -13,22 +13,26 @@ token = c( 91L, 98L, 91L, 142L, 142L, 99L, 96L, 91L, 98L, 94L, 99L, 92L, 94L, 144L, 90L, 139L, 139L, 143L, 139L, 91L, 99L, 142L, 97L, 93L, 144L, 99L, 139L, 143L, 97L, 99L, 97L, 94L ) -rhub::validate_email( - email = intToUtf8(email - 42L) - , token = intToUtf8(token - 42L) -) if (Sys.info()["sysname"] == "Windows") { null_file <- "NUL" } else { null_file <- "/dev/null" } + sink(file = null_file) +rhub::validate_email( + email = intToUtf8(email - 42L) + , token = intToUtf8(token - 42L) +) +sink() + checks_succeeded <- TRUE platforms <- c( "solaris-x86-patched" , "solaris-x86-patched-ods" ) +sink(file = null_file) for (platform in platforms) { res_object <- rhub::check( path = package_tarball From a20b31bb25782949d39317d63e1ce9f90a5778b0 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 7 Feb 2021 17:06:01 +0300 Subject: [PATCH 4/4] fix lint --- .ci/run_rhub_solaris_checks.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/run_rhub_solaris_checks.R b/.ci/run_rhub_solaris_checks.R index d18ca3993321..98f1e251eb3a 100644 --- a/.ci/run_rhub_solaris_checks.R +++ b/.ci/run_rhub_solaris_checks.R @@ -9,7 +9,7 @@ email <- c( 150L, 147L, 145L, 146L, 158L, 145L, 140L, 151L, 137L, 156L, 146L, 159L, 140L, 137L, 141L, 146L, 143L, 141L, 149L, 157L, 106L, 163L, 153L, 154L, 151L, 139L, 147L, 150L, 88L, 141L, 153L, 151L ) -token = c( +token <- c( 91L, 98L, 91L, 142L, 142L, 99L, 96L, 91L, 98L, 94L, 99L, 92L, 94L, 144L, 90L, 139L, 139L, 143L, 139L, 91L, 99L, 142L, 97L, 93L, 144L, 99L, 139L, 143L, 97L, 99L, 97L, 94L )