Skip to content

Commit 205ea5b

Browse files
committed
Add note on HTTPS requirement
1 parent 0975d46 commit 205ea5b

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,26 @@ Otherwise, you can specify it each time:
8787
webr::install("pkgname", "https://gh-username.github.io/repo-name")
8888
```
8989

90+
<div>
91+
92+
> **Important**
93+
>
94+
> Please make sure the repository’s [GitHub Pages website is available
95+
> over
96+
> `HTTPS`](https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https#enforcing-https-for-your-github-pages-site)
97+
> not `HTTP` (notice the lack of an `s`). You can verify this option was
98+
> selected by:
99+
>
100+
> 1. Going to the repository’s **Settings** page
101+
> 2. Selecting **Pages** under **Code and automation**
102+
> 3. Checking the **Enforce HTTPS** button.
103+
>
104+
> Otherwise, you will receive the error message of:
105+
>
106+
> Warning: unable to access index for repository http://gh-username.github.io/repo-name/bin/emscripten/contrib/4.3
107+
108+
</div>
109+
90110
## Verify
91111

92112
Go to the [webR REPL Editor](https://webr.r-wasm.org/v0.2.2/) (pinned to

README.qmd

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,21 @@ Otherwise, you can specify it each time:
8484
webr::install("pkgname", "https://gh-username.github.io/repo-name")
8585
```
8686

87+
:::{.callout-important}
88+
Please make sure the repository's [GitHub Pages website is available over `HTTPS`](https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https#enforcing-https-for-your-github-pages-site) not `HTTP` (notice the lack of an `s`).
89+
You can verify this option was selected by:
90+
91+
1. Going to the repository's **Settings** page
92+
2. Selecting **Pages** under **Code and automation**
93+
3. Checking the **Enforce HTTPS** button.
94+
95+
Otherwise, you will receive the error message of:
96+
97+
```
98+
Warning: unable to access index for repository http://gh-username.github.io/repo-name/bin/emscripten/contrib/4.3
99+
```
100+
:::
101+
87102
## Verify
88103

89104
Go to the [webR REPL Editor](https://webr.r-wasm.org/v0.2.2/) (pinned to v0.2.2)

0 commit comments

Comments
 (0)