Skip to content

Fix cluster matching in format_results utility #278

Fix cluster matching in format_results utility

Fix cluster matching in format_results utility #278

Workflow file for this run

on:
push:
branches: [main, master, dev]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:
name: pkgdown
permissions:
contents: write
jobs:
pkgdown:
runs-on: ubuntu-latest
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
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libglpk-dev libcurl4-openssl-dev libssl-dev libxml2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libpng-dev libtiff5-dev libcairo2-dev libxt-dev
- name: Install required packages
run: |
install.packages(c("pkgdown", "knitr", "rmarkdown", "devtools", "systemfonts", "ragg", "textshaping", "svglite", "ggplot2", "patchwork", "viridis", "ggExtra", "remotes"))
shell: Rscript {0}
- name: Install package dependencies
run: |
devtools::install_deps("R", dependencies = TRUE)
shell: Rscript {0}
- name: Install package
run: |
devtools::install("R", upgrade = "never")
shell: Rscript {0}
- name: Verify package installation
run: |
library(mLLMCelltype)
packageVersion("mLLMCelltype")
shell: Rscript {0}
- name: Build site
run: |
pkgdown::build_site("R")
shell: Rscript {0}
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: R/docs
clean: true