Skip to content

Added PSA flow diagram. #62

Added PSA flow diagram.

Added PSA flow diagram. #62

Workflow file for this run

# 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]
workflow_dispatch:
name: bookdown
jobs:
bookdown:
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 }}
steps:
- name: Checkout rep
uses: actions/checkout@v3
- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install R Packages
run: |
install.packages(c('cowplot', 'dplyr', 'ggplot2', 'grid', 'Matching', 'MatchIt', 'mice', 'plyr', 'psych', 'remotes', 'reshape2', 'shiny'))
install.packages(c('bookdown', 'devtools', 'granova', 'GGally', 'multilevelPSA', 'PSAgraphics', 'rgenoud', 'scholar', 'rbounds', 'tree', 'TriMatch', 'badger', 'BART', 'randomForest', 'stargazer', 'gdata'))
remotes::install_github('briandk/granovaGG')
remotes::install_github('jbryer/PSAboot')
shell: Rscript {0}
# - name: Setup renv
# uses: r-lib/actions/setup-renv@v2
- name: Build site
run: |
# install.packages('devtools')
devtools::install(upgrade = 'never', build_vignettes = FALSE, dependencies = 'Enhances')
setwd('book')
bookdown::render_book()
shell: Rscript {0}
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: book/_book