Skip to content

Commit 8dd357d

Browse files
authored
GH-47983: [CI][R] R nightly upload workflow failing for a few weeks (#47984)
### Rationale for this change PR #47727 refactored the R nightly upload workflow to handle r-pkg and r-lib files separately, but we needed to update the variable name used by `file.copy()`, causing the workflow to fail with "object 'current_path' not found" error. ### What changes are included in this PR? Add `current_path <- c(current_pkg_path, current_lib_path)` to combine the two path vectors before the `file.copy()` call on line 145. ### Are these changes tested? No ### Are there any user-facing changes? No * GitHub Issue: #47983 Authored-by: Nic Crane <[email protected]> Signed-off-by: Nic Crane <[email protected]>
1 parent b1eeba7 commit 8dd357d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/r_nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ jobs:
128128
pattern = "r-lib",
129129
recursive = TRUE
130130
)
131+
current_path <- c(current_pkg_path, current_lib_path)
131132
files <- c(
132133
sub("r-pkg", repo_root, current_pkg_path),
133-
sub("r-lib", paste0(repo_root, "__r-lib"), current_lib_path),
134+
sub("r-lib", paste0(repo_root, "__r-lib"), current_lib_path)
134135
)
135136
136137
# decode contrib.url from artifact name:

0 commit comments

Comments
 (0)