Skip to content

Commit

Permalink
change pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dchodge committed Oct 18, 2024
1 parent 6e5530c commit 997a7a8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@ jobs:
with:
extra-packages: any::pkgdown, local::.

# Install Ruby and Jekyll
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0' # Set this according to your needs
bundler-cache: true

- name: Install Jekyll
run: bundle install

- name: Build Jekyll Site
run: bundle exec jekyll build

- name: Deploy to GitHub Pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
Expand Down
6 changes: 0 additions & 6 deletions Gemfile

This file was deleted.

3 changes: 0 additions & 3 deletions _config.yml

This file was deleted.

9 changes: 8 additions & 1 deletion vignettes/model_define.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,16 @@ save_info <- list(
model_name = "ex1"
)
# Using more than one core might fail on windows,
if (.Platform$OS.type == "windows") {
mc.cores <- 1
} else {
mc.cores <- 2 # use as many as available, preferably 4.
}
rj_settings <- list(
numberChainRuns = 4,
numberCores = 2,
numberCores = mc.cores,
iterations = 2000,
burninPosterior = 1000,
thin = 1
Expand Down
1 change: 1 addition & 0 deletions vignettes/sim_recovery.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ p1 / p2

```{r, message=FALSE, warning=FALSE, results='hide'}
rj_settings <- list(
numberChainRuns = 4,
iterations = 400000,
Expand Down

0 comments on commit 997a7a8

Please sign in to comment.