Skip to content

Commit 9e2aee7

Browse files
committed
Keep run_id as a string
1 parent c849271 commit 9e2aee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/snapshot-github.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @export
1616
snapshot_download_gh <- function(repository, run_id, dest_dir = ".") {
1717
check_string(repository)
18-
check_number_whole(run_id)
18+
check_string(run_id)
1919
check_string(dest_dir)
2020

2121
check_installed("gh")
@@ -45,7 +45,7 @@ snap_download_hint <- function() {
4545
run_id <- Sys.getenv("GITHUB_RUN_ID")
4646

4747
sprintf(
48-
"* Call `snapshot_download_gh(\"%s\", %s)` to download the snapshots from GitHub.\n",
48+
"* Call `snapshot_download_gh(\"%s\", \"%s\")` to download the snapshots from GitHub.\n",
4949
repository,
5050
run_id
5151
)

0 commit comments

Comments
 (0)