Skip to content

Removed ggGranova to fix R CMD check. #63

Removed ggGranova to fix R CMD check.

Removed ggGranova to fix R CMD check. #63

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/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: book/_book