Skip to content

Commit

Permalink
Cleanup and documen R-Universe prepare scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jan 17, 2025
1 parent 33c31a7 commit 75548ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions StanHeaders/.Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ vignettes/.install_extras
.*\.a$
\.gitignore$
Rbuildignore.*$
\.prepare
9 changes: 6 additions & 3 deletions StanHeaders/.prepare
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

git checkout experimental
cd inst/include/upstream && git checkout develop && git pull && cd ../../..
cd inst/include/upstream/lib/stan_math && git checkout develop && git pull && cd ../../../../..
# This script is called by the R-Universe CI when building the package
# R-Universe does not automatically clone submodules, so we need to do it manually:
# https://github.com/r-universe-org/help/issues/411

git submodule update --init --recursive

3 changes: 0 additions & 3 deletions rstan/rstan/.prepare

This file was deleted.

0 comments on commit 75548ec

Please sign in to comment.