removing logo from Readme to prevent duplicated logo on website #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check with Sanitizer | |
on: | |
pull_request: | |
branches: ["main", "development"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
check-as-cran: | |
runs-on: ubuntu-latest | |
container: | |
image: rocker/r-devel-san:latest | |
steps: | |
- name: install sudo, git, etc | |
run: | | |
apt update && apt install -y sudo | |
sudo apt install -y git | |
sudo apt install -y libssl-dev | |
sudo apt install -y libxml2-dev | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- uses: r-lib/actions/setup-pandoc@v1 | |
- name: install dependencies | |
run: | | |
install.packages(c("Rcpp", "RcppArmadillo", "RcppParallel", "ggplot2", "tidyr", "stringr", "numDeriv", "rlang", "mvtnorm", "knitr", "plotly", "rmarkdown", "Rsolnp", "lavaan", "devtools", "testthat", "rcmdcheck", "glmnet")) | |
shell: RDscript {0} | |
#- name: Run checks with extend compiler flags | |
# run: | | |
# withr::with_makevars(c("PKG_CXXFLAGS" = "$(SHLIB_OPENMP_CXXFLAGS) -I../inst/include/ -Wall -pedantic -fdiagnostics-color=always -fsanitize=address"), | |
# devtools::check()) | |
# shell: Rscript {0} | |
- name: Check package | |
run: RD CMD build . && RD CMD check $(ls -t . | head -n1) | |