Re: [R-pkg-devel] Screen reader help request

2023-03-18 Thread Duncan Murdoch
That's great news. Thanks for your rapid testing! Regarding quarto: most of what I did for embedding rgl in R Markdown just worked in quarto: it uses a very similar system for embedding graphics. There were one or two issues which I believe have been fixed. I think the next task is gettin

Re: [R-pkg-devel] Screen reader help request

2023-03-18 Thread Jonathan Godfrey
Duncan et al., I report success. The promised text was attached to a graphic, and only appeared once. Not sure what the hidden text is about, or why it is needed. (?) so I went and edited the raw html (to make sure the alt text is only located in there) and my edit is plain to hear. So there a

Re: [R-pkg-devel] Screen reader help request

2023-03-18 Thread Duncan Murdoch
I've made another attempt at this now. I'm a bit more hopeful about this one, but still not sure. In the new code, I write the text in a element which is hidden, and use aria-labelledby to say that both the and the are labelled by that text. I am quite hopeful that the text will be detec

Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package

2023-03-18 Thread Ruff, Sergej
thank you, berry for your idea. Von: Berry Boessenkool Gesendet: Samstag, 18. März 2023 09:54:45 An: Ruff, Sergej; Simon Urbanek Cc: r-package-devel@r-project.org Betreff: Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R

Re: [R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package

2023-03-18 Thread Berry Boessenkool
I would use conditional returns to make the code more readable (see below) and then run the examples conditionally. check_limma <- function() # Returns TRUE if available, FALSE otherwise { if(requireNamespace("limma", quietly=TRUE)) return(TRUE) if(!interactive()) return(FALSE) inst <- men