compatibleStrand has contradictory definitions (plain function and S4 generic)
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read R/findOverlaps-methods.R around lines 249–251, R/strand-utils.R around lines 160–162, and the Collate entries in DESCRIPTION. Start by tracing how the S4 generic and plain function are loaded during package build, then inspect the reported generic metadata checks. Done means the generic and methods remain registered consistently after loading the package; the issue leaves the correct fix undecided.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Because the S4 registration precedes the plain function (due to Collate):
The S4 generic + methods get left for dead once the findOverlaps-methods is evaluated during package build. This leaves the S4 metadata in a broken state:
"compatibleStrand" %in% getGenerics(ns)
# [1] TRUE
isGeneric("compatibleStrand", where=ns)
# [1] FALSE
getGeneric("compatibleStrand", where=ns)
# NULL
showMethods("compatibleStrand", where=ns)
# Function "compatibleStrand":
# <not an S4 generic function>
I don't know enough about the package to judge what the correct fix is here.
This came up while workshopping https://github.com/r-devel/r-svn/pull/395 because it's one of two packages I found that violate a key assumption that the internal methods table has the correct information about internal generics.
- Lingua principale
- R
- Stelle
- 47
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Bioconductor/GenomicRanges
-
MemoryAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Bioconductor/GenomicRanges#95 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
Bioconductor/GenomicRanges#94 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Tutte le issue di Bioconductor/GenomicRanges
Issue simili
-
dbRemoveTable() fails on SQLite with 'near "TRUNCATE": syntax error' and leaves the table in placeAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OHDSI/DatabaseConnector#348 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100