-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from craddm/develop
Use pkgdown github workflow
- Loading branch information
Showing
6 changed files
with
146 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ | |
^\.github$ | ||
^CITATION\.cff$ | ||
^vignettes/single_subj_N170$ | ||
^pkgdown$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# 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.yaml | ||
|
||
permissions: read-all | ||
|
||
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@v4 | ||
|
||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,107 +1,103 @@ | ||
url: http://craddm.github.io/eegUtils | ||
|
||
url: https://craddm.github.io/eegUtils/ | ||
development: | ||
mode: auto | ||
|
||
template: | ||
bootstrap: 5 | ||
params: | ||
bootswatch: flatly | ||
|
||
navbar: | ||
components: | ||
twitter: | ||
icon: "fab fa-twitter fa-lg" | ||
icon: fab fa-twitter fa-lg | ||
href: https://www.twitter.com/matt_craddock | ||
|
||
reference: | ||
- title: IO | ||
desc: > | ||
Functions for importing data or electrode information into R. | ||
contents: | ||
- starts_with("import") | ||
- export_bva | ||
- title: Processing | ||
desc: > | ||
Functions for pre-processing and processing data | ||
contents: | ||
- apply_ica | ||
- compute_csd | ||
- eeg_average | ||
- eeg_combine | ||
- eeg_decompose | ||
- eeg_downsample | ||
- eeg_filter | ||
- eeg_reference | ||
- electrode_locations | ||
- epoch_data | ||
- interp_elecs | ||
- rm_baseline | ||
- run_ICA | ||
- tag_events | ||
- title: Artefact rejection | ||
desc: > | ||
Functions for artefact rejection. | ||
contents: | ||
- starts_with("ar") | ||
- epoch_stats | ||
- channel_stats | ||
- view_artefacts | ||
- title: Selection | ||
desc: Functions for selecting subsets of data | ||
contents: | ||
- starts_with("select") | ||
- filter | ||
- title: Plotting | ||
desc: > | ||
Functions for plotting data | ||
contents: | ||
- browse_data | ||
- erp_image | ||
- erp_raster | ||
- erp_scalp | ||
- geom_topo | ||
- get_scalpmap | ||
- interactive_scalp | ||
- starts_with("plot_") | ||
- stat_scalpmap | ||
- stat_scalpcontours | ||
- topoplot | ||
- view_ica | ||
- title: Frequency analysis | ||
desc: Functions related to (time-)frequency analysis | ||
contents: | ||
- compute_itc | ||
- compute_psd | ||
- compute_tfr | ||
- title: Converters | ||
desc: Functions for converting objects to data.frames | ||
contents: | ||
- starts_with("as.") | ||
- title: Accessors | ||
desc: Functions for accessing and modifying specific elements of an object | ||
contents: | ||
- channels | ||
- epochs | ||
- events | ||
- channel_names | ||
- get_participant_id | ||
- get_recording | ||
- title: internal | ||
contents: | ||
- starts_with("print") | ||
- starts_with("is") | ||
- epoch_data.default | ||
- tag_epochs | ||
- demo_epochs | ||
- demo_spatial | ||
- eeg_epochs | ||
- eeg_ICA | ||
- cycle_calc | ||
- tag_epochs | ||
- rotate_angle | ||
- list_epochs | ||
- list_events | ||
- fit_glm | ||
- eegUtils-package | ||
- eeg_summarise | ||
- title: IO | ||
desc: | | ||
Functions for importing data or electrode information into R. | ||
contents: | ||
- starts_with("import") | ||
- export_bva | ||
- title: Processing | ||
desc: | | ||
Functions for pre-processing and processing data | ||
contents: | ||
- apply_ica | ||
- compute_csd | ||
- eeg_average | ||
- eeg_combine | ||
- eeg_decompose | ||
- eeg_downsample | ||
- eeg_filter | ||
- eeg_reference | ||
- electrode_locations | ||
- epoch_data | ||
- interp_elecs | ||
- rm_baseline | ||
- run_ICA | ||
- tag_events | ||
- title: Artefact rejection | ||
desc: | | ||
Functions for artefact rejection. | ||
contents: | ||
- starts_with("ar") | ||
- epoch_stats | ||
- channel_stats | ||
- view_artefacts | ||
- title: Selection | ||
desc: Functions for selecting subsets of data | ||
contents: | ||
- starts_with("select") | ||
- filter | ||
- title: Plotting | ||
desc: | | ||
Functions for plotting data | ||
contents: | ||
- browse_data | ||
- erp_image | ||
- erp_raster | ||
- erp_scalp | ||
- geom_topo | ||
- get_scalpmap | ||
- interactive_scalp | ||
- starts_with("plot_") | ||
- stat_scalpmap | ||
- stat_scalpcontours | ||
- topoplot | ||
- view_ica | ||
- title: Frequency analysis | ||
desc: Functions related to (time-)frequency analysis | ||
contents: | ||
- compute_itc | ||
- compute_psd | ||
- compute_tfr | ||
- title: Converters | ||
desc: Functions for converting objects to data.frames | ||
contents: starts_with("as.") | ||
- title: Accessors | ||
desc: Functions for accessing and modifying specific elements of an object | ||
contents: | ||
- channels | ||
- epochs | ||
- events | ||
- channel_names | ||
- get_participant_id | ||
- get_recording | ||
- title: internal | ||
contents: | ||
- starts_with("print") | ||
- starts_with("is") | ||
- epoch_data.default | ||
- tag_epochs | ||
- demo_epochs | ||
- demo_spatial | ||
- eeg_epochs | ||
- eeg_ICA | ||
- cycle_calc | ||
- tag_epochs | ||
- rotate_angle | ||
- list_epochs | ||
- list_events | ||
- fit_glm | ||
- eegUtils-package | ||
- eeg_summarise | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.