Skip to content

Commit

Permalink
capture unavailable web resource gracefully in vignette for CRAN comp…
Browse files Browse the repository at this point in the history
…atibility. Fixes #197
  • Loading branch information
thackl committed Aug 30, 2024
1 parent 00353b0 commit 9ddb170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vignettes/gggenomes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,11 @@ gggenomes(ex("emales/emales.gff")) + geom_gene()
gbk_phages <- c(
PSSP7 = "ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/858/745/GCF_000858745.1_ViralProj15134/GCF_000858745.1_ViralProj15134_genomic.gff.gz",
PSSP3 = "ftp://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/904/555/GCF_000904555.1_ViralProj195517/GCF_000904555.1_ViralProj195517_genomic.gff.gz")
try( # capture unavailable web resources gracefully for CRAN https://github.com/thackl/gggenomes/issues/197
gggenomes(gbk_phages) + geom_gene() +
geom_seq_label()
)
```


Expand Down

0 comments on commit 9ddb170

Please sign in to comment.