Skip to content

Commit a0b6822

Browse files
committed
update build tools
1 parent f91969b commit a0b6822

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

tools/make-cran-pkg.R

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
devtools::build(manual = TRUE)
3+
4+
withr::with_dir("..", {
5+
system("R CMD check --as-cran keras3_*.tar.gz")
6+
})
7+
8+
r"(
9+
10+
tools/make-man.R && \
11+
tools/knit-vignettes.R && \
12+
tools/knit-examples.R && \
13+
tools/make-website.R
14+
15+
16+
tools/make-man.R && tools/make-website.R
17+
18+
)"

tools/make-man.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ cr_family <- function(rd_file) {
4141
Sys.glob("man/*.Rd") %>%
4242
walk(cr_family)
4343
# walk(itemize_family)
44+
45+
46+
remotes::install_local(force = TRUE)

0 commit comments

Comments
 (0)