Unverified Commit b1af2d37 authored by Austin Hartman's avatar Austin Hartman Committed by GitHub
Browse files

Merge pull request #1 from AustinHartman/debug-action

debug GHA
parents 35a51f9f c5dc7d06
Loading
Loading
Loading
Loading
+5 −21
Original line number Diff line number Diff line
@@ -18,12 +18,11 @@ jobs:
      fail-fast: false
      matrix:
        config:
          - {os: windows-latest, r: '4.0'}
          - {os: macOS-latest, r: '3.6'}
          - {os: macOS-latest, r: '4.0'}
          - {os: windows-latest, r: '4.1'}
          - {os: macOS-latest, r: '4.1'}
          - {os: macOS-latest, r: 'devel'}
          - {os: ubuntu-16.04, r: '3.6', rspm: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
          - {os: ubuntu-16.04, r: '4.0', rspm: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
          - {os: ubuntu-22.04, r: '4.1'}
          - {os: ubuntu-20.04, r: '4.1'}

    env:
      R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
@@ -36,6 +35,7 @@ jobs:
      - uses: r-lib/actions/setup-r@v2.3.0
        with:
          r-version: ${{ matrix.config.r }}
          use-public-rspm: true

      - uses: r-lib/actions/setup-pandoc@v2.3.0

@@ -45,22 +45,6 @@ jobs:
          saveRDS(remotes::dev_package_deps(dependencies = TRUE), "depends.Rds", version = 2)
        shell: Rscript {0}

      - name: Cache R packages
        if: runner.os != 'Windows'
        uses: actions/cache@v1
        with:
          path: ${{ env.R_LIBS_USER }}
          key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{ hashFiles('depends.Rds') }}
          restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-

      - name: Install system dependencies
        if: runner.os == 'Linux'
        env:
          RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
        run: |
          Rscript -e "remotes::install_github('r-hub/sysreqs')"
          sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))")
          sudo -s eval "$sysreqs"
      - name: Install dependencies
        run: |
          remotes::install_deps(dependencies = TRUE)
+1 −2
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ globalVariables(
#' @param vars_use vector of column names to use when computing the hash
#'
#' @export
#'
compute_hash <- function(data_df, vars_use) {
    base <- 1
    hash <- rep(0, nrow(data_df))
+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@ wilcoxauc.Seurat <- function(
    seurat_assay = "RNA",
    ...
) {
    requireNamespace("Seurat")
    X_matrix <- Seurat::GetAssayData(X, assay = seurat_assay, slot = assay)
    if (is.null(group_by)) {
        y <- Seurat::Idents(X)