Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
- {os: macos-latest, r: 'release'}

- {os: windows-latest, r: 'release'}
# use 4.0 or 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: 'oldrel-4'}
# switched to oldrel-1 b/c -4 has compatibility issues with bioconductor
# used 4.0 or 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: 'oldrel-1'}

- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
extra-packages: any::pkgdown
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: pkgdown::build_site_github_pages(new_process = FALSE, install = TRUE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
Expand Down
13 changes: 6 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
.RData
docs/
issues/
R-deprecated/
data-raw/
tests/
vignettes-manual-export/
/doc/
/Meta/
assets/
gggenomes.Rcheck
.vscode
gggenomes_*.tar.gz
vignettes/gggenomes_cache
vignettes/.Rhistory
vignettes/.RData
vignettes/bin
vignettes/data
.vscode
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gggenomes
Title: A Grammar of Graphics for Comparative Genomics
Version: 1.1.3
Version: 1.1.3.9000
Authors@R: c(
person("Thomas", "Hackl", email = "t.hackl@rug.nl", role = c("aut", "cre")),
person("Markus J.", "Ankenbrand", email = "iimog@iimog.org", role = c("aut")),
Expand Down
239 changes: 0 additions & 239 deletions data-raw/emales.org

This file was deleted.

Binary file removed data-raw/emales.tgz
Binary file not shown.
25 changes: 25 additions & 0 deletions vignettes/_vignettes.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

These are internal notes. `_`-prefixed vignettes are not rendered by pkgdown

# General notes

My goal is to have reproducible vignettes that can be easily run by users. The main issue is that I cannot bundle the raw data files with the package because they are too big for CRAN. Therefore, I have to prerender the figures in the vignette and make the raw data available as assets on the github repo.

- Figures in the vignette are prerendered because we render html with pkgdown from non-bundled sources.
- Raw data files cannot be bundled because it would be to slow/big for CRAN.
- Raw data are made available as assets on the github repo.
- The vignette rmd files and figures, however, still need to be under version control, while raw data needs to be .gitignored. That makes it tricky to set up a good directory structure.

```{zsh}
# to upload the raw data to github as an asset, run the following command in the terminal:
tar --dereference -czf ../assets/vignettes.tar.gz .
gh release upload v1.1.3 ../assets/vignettes.tar.gz
```

# EMALES vignette - demonstrating main functionality of the package

2026-08-28 (for Nature Methods revision):
- [x] package raw data for bash stuff for easy download with somewhat perm link,
maybe github asset?
- [x] consider packaging binaries for prodigal, minimap2, seqkit, mmseqs2, blastp,
gff-clean, gff2cds, cluster-ids, seq-gc. Maybe switch to diamond, which comes in single bin as well. Or maybe just provide a docker image with all of that installed.
Binary file added vignettes/emales-p1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/emales-p2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/emales-p3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/emales-p4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/emales-p5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/emales-p6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/emales-p7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading