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
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
^outline\.md$
^\.github$
^\.lintr$
^_pkgdown\.yml$
^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 @@
# 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, dev]
pull_request:
branches: [main, master, dev]
release:
types: [published]
workflow_dispatch:

name: pkgdown

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/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
folder: docs
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,5 @@ dist

# Ignoring R History and R Data Root:
.Rhistory
.RData
.RData
docs
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: nepExplorer
Type: Package
Title: Interactive Graphic for Exploring Kidney Function Data in Clinical Trials.\
Title: Interactive Graphic for Exploring Kidney Function Data in Clinical Trials.
Version: 0.1.0
Authors@R: c(
person("Preston", "Burns", email = "s.preston.burns@gmail.com", role = c("cre","aut")),
Expand All @@ -9,7 +9,7 @@ Authors@R: c(
person("Eli", "Miller", email = "eli.miller@atorusresearch.com", role = "aut"),
person("James", "Buchanan", email = "jbuchanan@covilance.com", role = "aut"))
Description: Shiny app of interactive creatinine scatterplot for exploring kidney function data in clinical trials.
URL: https://github.com/SafetyGraphics/nep-explorer
URL: https://github.com/SafetyGraphics/nep-explorer, https://safetygraphics.github.io/nepExplorer/
BugReports: https://github.com/SafetyGraphics/nep-explorer/issues
Depends: R (>= 4.0)
License: MIT + file LICENSE
Expand Down
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
url: https://safetygraphics.github.io/nepExplorer/
template:
bootstrap: 5