diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 418d699..b7726b4 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -126,7 +126,10 @@ "Bash(Rscript -e 'print\\(utils::packageVersion\\(\"pkgdown\"\\)\\); print\\(pkgdown:::package_mds\\); print\\(pkgdown:::build_home_md\\)')", "Bash(Rscript -e 'a <- available.packages\\(repos=\"https://cloud.r-project.org\"\\); print\\(a[c\\(\"pkgdown\",\"knitr\",\"Seurat\",\"SeuratObject\"\\),\"Version\"]\\); for \\(p in c\\(\"Seurat\",\"SeuratObject\",\"SeuratData\",\"rmarkdown\",\"knitr\"\\)\\) cat\\(p, as.character\\(utils::packageVersion\\(p\\)\\), \"\\\\n\"\\); print\\(unname\\(sapply\\(\"repo\", function\\(x\\) getOption\\(\"SeuratData.repo.use\"\\)\\)\\)\\)')", "Bash(Rscript -e 'library\\(SeuratData\\); print\\(getOption\\(\"SeuratData.repo.use\"\\)\\); print\\(utils::packageDescription\\(\"SeuratData\"\\)[c\\(\"Version\",\"RemoteType\",\"RemoteRepo\",\"RemoteUsername\",\"Repository\"\\)]\\)')", - "Bash(rsync -a --delete /private/tmp/claude-234134544/-Users-nw426-Documents-GitHub-NICHESv2-NW/8e8dd3a1-059b-4622-99f2-f5ba283c1906/scratchpad/siteci/ docs/)" + "Bash(rsync -a --delete /private/tmp/claude-234134544/-Users-nw426-Documents-GitHub-NICHESv2-NW/8e8dd3a1-059b-4622-99f2-f5ba283c1906/scratchpad/siteci/ docs/)", + "Read(//private/tmp/**)", + "Bash(curl -s -m 30 \"https://api.github.com/repos/noahwang1991/NICHESv2-NW/actions/runs?per_page=5\")", + "Bash(python3 -c ' *)" ] } } diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 9881cde..64092be 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -37,17 +37,23 @@ jobs: use-public-rspm: true # Step 3: install this package, everything in DESCRIPTION, and the tools - # the website needs. SeuratData isn't on CRAN, so it comes from GitHub. + # the website needs - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: | any::pkgdown + any::remotes + any::Seurat local::. - github::satijalab/seurat-data - # Step 4: download the test datasets the tutorials use - - name: Install test datasets - run: SeuratData::InstallData(c("stxBrain", "ifnb")) + # Step 4: install SeuratData and download the test datasets + # SeuratData isn't on CRAN, so it comes from GitHub. It gets its own step + # because Step 3 would also require Azimuth, an optional SeuratData + # package that isn't on CRAN or Bioconductor. + - name: Install SeuratData and test datasets + run: | + remotes::install_github("satijalab/seurat-data", upgrade = "never") + SeuratData::InstallData(c("stxBrain", "ifnb")) shell: Rscript {0} # Step 5: build the site