You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
When using detectRuns 'plot_InbreedingChr()' I get this warning:
1: The <scale> argument of guides() cannot be FALSE. Use "none" instead as of ggplot2 3.3.4.
ℹ The deprecated feature was likely used in the detectRUNS package.
Please report the issue at https://github.com/bioinformatics-ptp/detectRUNS/issues.
Expected behavior
No warnings.
detectRUNS version
packageVersion("detectRUNS")
[1] ‘0.9.6’
platform
R.version
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 2.1
year 2022
month 06
day 23
svn rev 82513
language R
version.string R version 4.2.1 (2022-06-23 ucrt)
nickname Funny-Looking Kid `.
Additional context
Not sure how to point to the function code directly. Anyhow, for a fix, I guess you "just" have to change in line 69 of plot_InbreedingChr from: g2 <- g2 + facet_grid(group ~ .) + guides(fill = FALSE)
to: g2 <- g2 + facet_grid(group ~ .) + guides(fill = none)
The text was updated successfully, but these errors were encountered:
This seems to affect both plot_InbreedingChr and plot_DistributionRuns which use both guides(fill=FALSE) which is now deprecated by ggplot2. Your solution is quite correct but none is not a R object , so the proposed change is guides(fill="none"). Hope this could be integrated soon in CRAN
Describe the bug
Deprecated feature warning.
To Reproduce
When using detectRuns 'plot_InbreedingChr()' I get this warning:
1: The
<scale>
argument ofguides()
cannot beFALSE
. Use "none" instead as of ggplot2 3.3.4.ℹ The deprecated feature was likely used in the detectRUNS package.
Please report the issue at
https://github.com/bioinformatics-ptp/detectRUNS/issues.
Expected behavior
No warnings.
detectRUNS version
platform
Additional context
Not sure how to point to the function code directly. Anyhow, for a fix, I guess you "just" have to change in line 69 of plot_InbreedingChr from:
g2 <- g2 + facet_grid(group ~ .) + guides(fill = FALSE)
to:
g2 <- g2 + facet_grid(group ~ .) + guides(fill = none)
The text was updated successfully, but these errors were encountered: