Skip to content

Commit 2a0d644

Browse files
authored
gggenomes 1.1.0 release - ggplot 4.0.0 compatibilty
2 parents daa8f87 + 1d8bb4a commit 2a0d644

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+208
-1416
lines changed

.Rbuildignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
^data-raw$
1010
^pkgdown$
1111
^LICENSE.md$
12-
^\.vscode$
12+
^\.vscode$
13+
^issues(/|$)
14+
^vignettes-manual-export$
15+
^cran-comments.md$
16+
^CRAN-SUBMISSION$

.github/workflows/main.yml

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
2-
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
#
4+
# NOTE: This workflow is overkill for most R packages and
5+
# check-standard.yaml is likely a better choice.
6+
# usethis::use_github_action("check-standard") will install it.
37
on:
48
push:
5-
branches:
6-
- main
7-
- master
8-
- develop
9+
branches: [main, master, develop]
910
pull_request:
10-
branches:
11-
- main
12-
- master
13-
- develop
11+
branches: [main, master, develop]
1412

15-
name: R-CMD-check
13+
name: R-CMD-check.yaml
14+
15+
permissions: read-all
1616

1717
jobs:
1818
R-CMD-check:
@@ -27,18 +27,23 @@ jobs:
2727
- {os: macos-latest, r: 'release'}
2828

2929
- {os: windows-latest, r: 'release'}
30-
# use 4.1 to check with rtools40's older compiler
31-
- {os: windows-latest, r: '4.1'}
32-
33-
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
34-
- {os: ubuntu-latest, r: 'release'}
35-
30+
# use 4.0 or 4.1 to check with rtools40's older compiler
31+
- {os: windows-latest, r: 'oldrel-4'}
32+
33+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
34+
- {os: ubuntu-latest, r: 'release'}
3635
env:
3736
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3837
R_KEEP_PKG_SOURCE: yes
38+
_R_CHECK_FORCE_SUGGESTS_: false
39+
# Some packages might unavailable on the older versions, so let's ignore xref warnings
40+
_R_CHECK_RD_XREFS_: false
41+
# Runs vdiffr test only on the latest version of R
42+
VDIFFR_RUN_TESTS: ${{ matrix.config.r == 'release' }}
43+
VDIFFR_LOG_PATH: "../vdiffr.Rout.fail"
3944

4045
steps:
41-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4247

4348
- uses: r-lib/actions/setup-pandoc@v2
4449

@@ -50,9 +55,15 @@ jobs:
5055

5156
- uses: r-lib/actions/setup-r-dependencies@v2
5257
with:
53-
extra-packages: any::rcmdcheck, doMC=?ignore
58+
cache-version: 3
59+
extra-packages: >
60+
any::rcmdcheck,
61+
any::Hmisc,
62+
any::quantreg
5463
needs: check
5564

5665
- uses: r-lib/actions/check-r-package@v2
5766
with:
5867
upload-snapshots: true
68+
build_args: 'c("--no-build-vignettes","--no-manual")'
69+
args: 'c("--ignore-vignettes","--no-manual")'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.Rhistory
33
.RData
44
docs/
5-
org/
5+
issues/
66
R-deprecated/
77
data-raw/
88
tests/

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 1.1.0
2+
Date: 2025-10-13 07:11:50 UTC
3+
SHA: 9d50a47e7bdeca13941100df7488fb8134ceb768

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: gggenomes
22
Title: A Grammar of Graphics for Comparative Genomics
3-
Version: 1.0.1
3+
Version: 1.1.0
44
Authors@R: c(
55
person("Thomas", "Hackl", email = "t.hackl@rug.nl", role = c("aut", "cre")),
66
person("Markus J.", "Ankenbrand", email = "iimog@iimog.org", role = c("aut")),
@@ -16,11 +16,11 @@ URL: https://thackl.github.io/gggenomes/, https://github.com/thackl/gggenomes
1616
BugReports: https://github.com/thackl/gggenomes/issues
1717
Encoding: UTF-8
1818
LazyData: true
19-
RoxygenNote: 7.3.1
19+
RoxygenNote: 7.3.3
2020
Roxygen: list(markdown = TRUE)
2121
VignetteBuilder: knitr
2222
Depends:
23-
R (>= 3.5.0),
23+
R (>= 4.1.0),
2424
ggplot2 (>= 3.5.0),
2525
Imports:
2626
vctrs,
@@ -48,3 +48,4 @@ Suggests:
4848
knitr,
4949
ggrepel,
5050
IRanges,
51+
rmarkdown

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ S3method(flip_strand,logical)
3939
S3method(flip_strand,numeric)
4040
S3method(get_seqs,gggenomes)
4141
S3method(get_seqs,gggenomes_layout)
42-
S3method(ggplot,gggenomes_layout)
4342
S3method(layout,gggenomes)
4443
S3method(layout,gggenomes_layout)
4544
S3method(makeContent,genetree)

News.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# gggenomes 1.1.0
2+
3+
* Updated for **ggplot2 4.0** layout changes — restores full compatibility
4+
* Requires **R ≥ 4.1.0** (native pipe `|>` support)
5+
* Replaced deprecated `size` aesthetic in line geoms with `linewidth`
6+
* CI configuration refreshed for multi-platform testing
7+
* Examples guarded for missing optional packages in Windows oldrel builds (**Hmisc**, **ggtree**)
8+
* CITATION file updated (`bibentry()`/`person()`)
9+
* Minor typo and code clean-ups

R-deprecated/geom_gene3.R

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)