Comments (4)
tl;dr I think I fixed the issue. You can try the fix immediately by installing via
devtools::install_github("thackl/gggenomes@fix-156")
I was able to reproduce this error in R version 4.3.1 (it did not occur in R version 4.1).
Relevant changes have been introduced in version 4.2.0 and 4.3.0 (see changelog)
Calling && or || with either argument of length greater than one now gives a warning (which it is intended will become an error).
Calling if() or while() with a condition of length greater than one gives an error rather than a warning. Consequently, environment variable R_CHECK_LENGTH_1_CONDITION no longer has any effect.
andCalling && or || with LHS or (if evaluated) RHS of length greater than one is now always an error, with a report of the form
'length = 4' in coercion to 'logical(1)'
Environment variable R_CHECK_LENGTH_1_LOGIC2 no longer has any effect.
from gggenomes.
Installing the patch, restarting R, loading ggtree
and then loading gggenomes
worked. Thanks!
from gggenomes.
I encountered the same problem earlier today. I thought it was due to a poorly formatted file on my end. When I tried with a small viral GFF3 from NCBI, the problem persisted. And when I finally tried the example data, I got the same error as you.
I am hoping there is a quick answer to this.
from gggenomes.
Sorry for the late reply. Yes, this now works. Thanks for the quick fix!
from gggenomes.
Related Issues (20)
- Show y-axis for geom_wiggle() and offset geom_feat() HOT 1
- ggsave throws error in example code HOT 8
- Gff not recognized HOT 6
- Error in eval(`_inherit`, env, NULL): object 'Guides' not found. HOT 1
- Error in guides$setup(scales, aesthetics, default = params$guide_default %||% : attempt to apply non-function HOT 1
- unexpected error on example data HOT 1
- Incorrect labels for scale with large sequences HOT 1
- read_feats error HOT 4
- Multiple coverage tracks supported? HOT 4
- How can I change the distance (spacer) between different seqs? HOT 2
- Calculate coordinates from gff file with genes in different directions HOT 1
- Error when loading emales.fna with https://github.com/thackl/gggenomes/blob/HEAD/vignettes/emales.Rmd HOT 1
- Generate blast links with NCBI blast, easy to use row.names() HOT 1
- Changing start site of seq track and keeping layout. HOT 4
- markdown expressions in geom_gene_text HOT 1
- Combination plots with ggtree possible? HOT 1
- Two tibble gff3 files appear empty when loading in. HOT 3
- geom_link() is not working properly HOT 4
- gggenomes works in webR
- CRAN policy violation - fail gracefully on unavailable internet resources HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gggenomes.