Skip to content

Commit

Permalink
i hate this
Browse files Browse the repository at this point in the history
  • Loading branch information
smitdave committed Jan 19, 2024
1 parent d5dfb6d commit 0332522
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 149 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
^docs$
^pkgdown$
^pf\.memory\.Rproj$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
48 changes: 48 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

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

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
151 changes: 2 additions & 149 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,151 +1,4 @@
url: https://dd-harp.github.io/pf.memory/
url: ~
template:
bootstrap: 5
navbar:
left:
- text: Functions
href: reference/index.html
- text: Articles
menu:
- text: Force of Infection
href: articles/FoI-TraceFunctions.html
- text: Dynamics
href: articles/Dynamics.html
- text: Multiplicity of Infection
href: articles/MoI.html
right:
- icon: fa-github
href: https://github.com/dd-harp/exDE/
home:
sidebar:
structure:
- links
- license
- community
- citation
- authors
- dev
- custom_news
components:
custom_news:
title: Changelog
text: <a href="news/index.html">News</a>
reference:
- title: Force of Infection
desc: |
Methods to set up FoI trace functions
contents:
- FoI
- subtitle: FoI by Age
desc: |
Specialized methods to compute the FoI by Age
contents:
- par_flatAge
- title: Other Methods
desc: |
Other
contents:
- Bda
- Detect
- Detect.nb
- Detect.pois
- DetectBda
- DetectPM
- DetectPa
- MoIDistPlot
- MoIPM
- Wda
- Wda.delta
- Wda.none
- ageFoI
- ageFoI.flat
- ageFoI.type2
- alpha2mu
- alpha2mu.W
- alpha2mu.base
- binnedCounts
- binnedCounts.nb
- binnedCounts.pois
- cdfConvolve2
- cdfConvolve2a
- cdfConvolve2b
- dAoI
- dAoIda
- dAoY
- dAoYN
- dAoYda
- dBda
- dCounts
- dCounts.nb
- dCounts.pois
- dCountsBa
- dCountsPa
- dDensityPa
- dDensityPaConvolve2
- dDensityPalpha
- dDensityPmu
- dMoIda
- dbeta1
- dmda
- dpda
- log10RBC
- log10RBC.static
- meanCountsBa
- meanCountsPa
- meanMoI
- momentAoI
- momentAoY
- nzPois
- pAoI
- pAoY
- pAoYN
- pAoY_long
- pBda
- pCounts
- pCounts.nb
- pCounts.pois
- pCountsBa
- pCountsPa
- pDensityPalpha
- pDensityPmu
- par_Wda_delta
- par_Wda_none
- par_alpha2mu.W
- par_alpha2mu_base
- par_expSeason
- par_flatSeason
- par_flatTrend
- par_lRBC_static
- par_nbCounts
- par_poisCounts
- par_sigma_abc
- par_sinSeason
- par_type2Age
- pbeta1
- qDensityPalpha
- qDensityPmu
- qbeta1
- rAoI
- rAoY
- rAoYN
- rBda
- rDensityPalpha
- rDensityPmu
- rRda
- rbeta1
- salpha2mu
- seasonalFoI
- seasonalFoI.exp
- seasonalFoI.flat
- seasonalFoI.sin
- sigma
- sigma.abc
- solveMMinfty
- solve_dAoI
- solve_dAoYda
- solve_dm
- solve_dpda
- trendFoI
- trendFoI.flat
- truePRa
- zda

0 comments on commit 0332522

Please sign in to comment.