Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
^\.gitattributes$
^review$
^cran-comments\.md$
^_pkgdown\.yml$
^docs$
^pkgdown$
50 changes: 50 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Build the documentation site with pkgdown and publish it to GitHub Pages
# (https://nullsatz.github.io/gputools/) on every push to master. The
# runner has no CUDA, so this is the no-CUDA build: the examples, which
# run only if gpuAvailable(), are shown but not run, and the benchmarks
# vignette reads its measurements from the CSVs in vignettes/.
name: pkgdown

on:
push:
branches: [master]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-24.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
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
- run: Rscript -e 'pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)'
- uses: actions/upload-pages-artifact@v3
with:
path: docs

deploy:
needs: build
runs-on: ubuntu-24.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ src/Makevars
src/*.o
src/*.so
src/nocuda-reason.h
docs/
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Description: GPU versions of base R statistics for data with many
package installs, and its functions explain how to get a 'CUDA' build.
Described in Buckner et al. (2010) <doi:10.1093/bioinformatics/btp608>.
License: GPL-3
URL: https://github.com/nullsatz/gputools
URL: https://nullsatz.github.io/gputools/, https://github.com/nullsatz/gputools
BugReports: https://github.com/nullsatz/gputools/issues
60 changes: 60 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
url: https://nullsatz.github.io/gputools/

template:
bootstrap: 5

home:
title: GPU drop-ins for base R statistics on wide data

navbar:
structure:
left: [reference, articles]
right: [search, github]

reference:
- title: Pairwise statistics over many variables
desc: Every pair of variables at once, on the GPU.
contents:
- gpuCor
- gpuCorPairs
- gpuAssoc
- gpuTtest
- gpuDist
- gpuGranger
- gpuMi
- title: Permutation tests
desc: Permutation and Westfall-Young maxT p-values for every test.
contents:
- gpuCorPerm
- gpuRowTtest
- title: Clustering and components
contents:
- gpuHclust
- gpuDistClust
- gpuKmeans
- gpuPrcomp
- gpuSvd
- title: Models and linear algebra
desc: The same interface as base R; base R is as fast at most sizes.
contents:
- gpuLm
- gpuLm.fit
- gpuLm.defaultTol
- gpuLsfit
- gpuGlm
- gpuQr
- gpuSolve
- gpuMatMult
- gpuCrossprod
- gpuTcrossprod
- cpuMatMult
- title: The GPU
contents:
- gpuAvailable
- chooseGpu
- getGpuId

articles:
- title: Benchmarks
contents:
- benchmarks
Loading