Closed HenrikBengtsson closed 3 years ago
Dear Henrik,
My apologies, it's seems that we somehow missed that during testing... It was due to our own S3 generics for the print and summary functions rather than using the alternate method.
E.g.:
setMethod("print", "ProteoDiscography", function(x)
...
)
Instead of:
print.ProteoDiscography <- function(x, ...){
...
}
I've amended this in the package and it should work without breaking these crucial functions for the other classes.
Thanks for the report! Please let me know if this indeed also fixed it for you.
Kind regards,
Job
No worries. I found this through a big load-attach scan of all CRAN and Bioconductor packages where I did print(packageDescription(pkg))
. If it makes you feel better, you're not alone - there are two other packages with the same issue :p ... RGCxGC and seqmin.
I can confirm that it works with the new
remotes::install_github("ErasmusMC-CCBC/ProteoDisco")
library(ProteoDisco)
packageVersion("ProteoDisco")
#> [1] ‘1.1.1’
print(1:10)
#> [1] 1 2 3 4 5 6 7 8 9 10
summary(1:10)
#> Min. 1st Qu. Median Mean 3rd Qu. Max.
#> 1.00 3.25 5.50 5.50 7.75 10.00
Hi, attaching ProteoDisco seems to break the essential functions
print()
andsummary()
, e.g.Session info