Skip to content

Commit dfe57b4

Browse files
committed
add check in build script
1 parent d7a897c commit dfe57b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/make-cran-pkg.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
devtools::build(manual = TRUE)
44

5+
if(length(Sys.glob("../keras3_*.tar.gz")) > 1)
6+
stop("too many tarballs")
7+
58
withr::with_dir("..", {
69
system("R CMD check --as-cran keras3_*.tar.gz")
710
})

0 commit comments

Comments
 (0)