Skip to content

Commit 1350c95

Browse files
committed
docs
1 parent 24d8c90 commit 1350c95

File tree

6 files changed

+62
-2
lines changed

6 files changed

+62
-2
lines changed

.Rbuildignore

+4
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
^\.Rproj\.user$
33
^cran-comments\.md$
44
^LICENSE\.md$
5+
^_pkgdown\.yml$
6+
^docs$
7+
^pkgdown$
8+
^\.github$

.github/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/pkgdown.yaml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
release:
9+
types: [published]
10+
workflow_dispatch:
11+
12+
name: pkgdown.yaml
13+
14+
permissions: read-all
15+
16+
jobs:
17+
pkgdown:
18+
runs-on: ubuntu-latest
19+
# Only restrict concurrency for non-PR jobs
20+
concurrency:
21+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
22+
env:
23+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
24+
permissions:
25+
contents: write
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: r-lib/actions/setup-pandoc@v2
30+
31+
- uses: r-lib/actions/setup-r@v2
32+
with:
33+
use-public-rspm: true
34+
35+
- uses: r-lib/actions/setup-r-dependencies@v2
36+
with:
37+
extra-packages: any::pkgdown, local::.
38+
needs: website
39+
40+
- name: Build site
41+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
42+
shell: Rscript {0}
43+
44+
- name: Deploy to GitHub pages 🚀
45+
if: github.event_name != 'pull_request'
46+
uses: JamesIves/github-pages-deploy-action@v4.5.0
47+
with:
48+
clean: false
49+
branch: gh-pages
50+
folder: docs

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ Rplots.pdf
5252
noncontextual_cumulative_assignment_plot.png
5353
inst/doc
5454
vignettes/contextual_plots.png
55+
docs

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Version: 1.0.0
44
Authors@R: c(
55
person("Molly", "Offer-Westort", email = "mollyow@uchicago.edu", role = c("aut", "cre", "cph")),
66
person("Yinghui", "Zhou", email = "yz4690@columbia.edu", role = c("aut")))
7-
Description: This package provides functions for conducting frequentist inference on adaptively generated data. The methods implemented in this package are based on Zhan et al. (2021) <arXiv:2106.02029> and Hadad et al. (2021) <arXiv:1911.02768>. For illustration, several functions for simulating non-contextual and contextual adaptive experiments using Thompson sampling are also supplied.
7+
Description: Provides functions for conducting frequentist inference on adaptively generated data. The methods implemented are based on Zhan et al. (2021) <arXiv:2106.02029> and Hadad et al. (2021) <arXiv:1911.02768>. For illustration, several functions for simulating non-contextual and contextual adaptive experiments using Thompson sampling are also supplied.
88
License: MIT + file LICENSE
99
Encoding: UTF-8
1010
RoxygenNote: 7.2.3
11-
URL: https://github.com/UChicago-pol-methods/banditsCI
11+
URL: https://github.com/UChicago-pol-methods/banditsCI, https://uchicago-pol-methods.github.io/banditsCI/
1212
BugReports: https://github.com/UChicago-pol-methods/banditsCI/issues
1313
Suggests:
1414
knitr (>= 1.43),

_pkgdown.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
url: https://uchicago-pol-methods.github.io/banditsCI/
2+
template:
3+
bootstrap: 5
4+

0 commit comments

Comments
 (0)