Skip to content

Commit

Permalink
Merge branch 'main' into maelle-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
christophsax authored Oct 27, 2024
2 parents 0bff97a + 54f3c09 commit a7e4c24
Show file tree
Hide file tree
Showing 10 changed files with 551 additions and 7 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: pre-release
version: 1.5.57

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Avoid bundling Shinylive packages
run: echo "SHINYLIVE_WASM_PACKAGES=0" >> $GITHUB_ENV

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
Expand All @@ -31,6 +35,8 @@ jobs:
any::downlit
any::xml2
any::shinyMobile
BristolMyersSquibb/blockr
any::pracma
cache-version: 2

- name: Render Quarto Project
Expand All @@ -49,7 +55,7 @@ jobs:
uses: lycheeverse/lychee-action@v1
with:
fail: true
args: "docs --exclude-loopback --insecure --exclude-mail --exclude-path docs/site_libs --cache --max-cache-age 1d"
args: "docs --exclude-loopback --insecure --accept 200,429 --exclude-mail --exclude-path docs/site_libs --cache --max-cache-age 1d"

- name: Read lychee's out.md
if: failure()
Expand Down
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Imports:
downlit,
xml2,
rmarkdown,
shinylive
shinylive,
seasonal
Remotes:
posit-dev/r-shinylive
7 changes: 7 additions & 0 deletions _extensions/quarto-ext/shinylive/shinylive.lua
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,13 @@ return {
el.attr.classes = pandoc.List()
el.attr.classes:insert("shinylive-r")
end

el.text =
"#| '!! shinylive warning !!': |\n"..
"#| shinylive does not work in self-contained HTML documents.\n" ..
"#| Please set `embed-resources: false` in your metadata.\n" ..
el.text

return el
end
}
Expand Down

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions _freeze/posts/2024-09-16-blockr/index/execute-results/html.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion posts/2020-11-02-jitsi-load-balanced/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ At cynkra, while we have been running our own Jitsi instance quite happily for s
## The Challenge

cynkra actively supports the local [Zurich R User Group](https://www.meetup.com/Zurich-R-User-Group/).
For one of their [recent meetings](https://www.meetup.com/Zurich-R-User-Group/events/273910283/), about 100 people RSVP'ed.
For one of their [recent meetings](https://www.meetup.com/Zurich-R-User-Group), about 100 people RSVP'ed.

When browsing the load capabilities of a single Jitsi instance, we found that the stock setup begins to experience some challenges at around 35 people and fails at around 70 people.
The limiting factor appears to be the "videobridge".
Expand Down
2 changes: 1 addition & 1 deletion posts/2024-09-09-zurich-roadcycling-wc-2024/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ while (i <= n_iter) {
}
```

Note that the website gain is officially 4470m whereas ours is `r round(gain)`m. This difference might be explained by the usage of different __smoothing algorithms__ for the [elevation](https://support.strava.com/hc/en-us/articles/216919447-Elevation). Funnily, we all had different bike computers and none of us had the same elevation result at the end of the ride.
Note that the website gain is officially 4470m whereas ours is `r round(gain)`m. This difference might be explained by the usage of different __smoothing algorithms__ for the [elevation](https://larahamilton.com/strava-elevation/). Funnily, we all had different bike computers and none of us had the same elevation result at the end of the ride.

We split the trace into 2 parts. The first loop takes place around Winterthur, north of Zurich. Then, a transition leads to the __city loop__, which is repeated 7 times.

Expand Down
Loading

0 comments on commit a7e4c24

Please sign in to comment.