Skip to content

Commit bc8c0eb

Browse files
committed
Try patching SpatialData.plot DESCRIPTION on the fly
1 parent 69adefa commit bc8c0eb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/R-CMD-check-SpatialDataPlot.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
r-version: ${{ matrix.config.r }}
4141
http-user-agent: ${{ matrix.config.http-user-agent }}
4242

43+
# This step can be removed once SpatialData is on Bioconductor, and is removed from Remotes: in SpatialData.plot's DESCRIPTION.
44+
- name: Avoid SpatialData version conflict
45+
run: |
46+
desc <- read.dcf("DESCRIPTION")
47+
desc[, "Remotes"] <- sub("HelenaLC/SpatialData,\\s*", "", desc[, "Remotes"])
48+
write.dcf(desc, "DESCRIPTION")
49+
shell: Rscript {0}
50+
4351
- uses: r-lib/actions/setup-r-dependencies@v2
4452
with:
4553
# Install SpatialData from the commit that triggered the workflow

0 commit comments

Comments
 (0)