Re: [R-pkg-devel] Is there an Rtools40 changelog?

2020-05-13 Thread James Lamb
Thank you very much for the help! This definitely answered my question. I wasn't familiar with pacman before. For the curious, I've had success generating a .def file from R.dll with *objdump.exe*, a utility that exists in prior Rtools distributions and the current ones. With something like the

[R-pkg-devel] RES: RES: RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
I installed the 'devel' version of mathjaxr and tested preview_rd() All seems to be working fine! Thank you for the quick and useful implementation! Best, Olivoto -Mensagem original- De: Viechtbauer, Wolfgang (SP) Enviada em: quarta-feira, 13 de maio de 2020 18:26 Para:

Re: [R-pkg-devel] RES: RES: MathJax for Rd files

2020-05-13 Thread Viechtbauer, Wolfgang (SP)
I've added a preview_rd() function to the 'devel' version of mathjaxr: https://github.com/wviechtb/mathjaxr If you want to give this a try: remotes::install_github("wviechtb/mathjaxr") library(mathjaxr) Then set the working dir to the root of the package you are working on. Then use:

Re: [Rd] justify hard coded in format.ftable

2020-05-13 Thread SOEIRO Thomas
Dear all, I haven't received any feedback so far on my proposal to make "justify" argument available in stats:::format.ftable Is this list the appropriate place for this kind of proposal? I hope this follow-up to my message won't be taken as rude. Of course it's not meant to be, but I'm not

Re: [Rd] docs about _R_CHECK_FORCE_SUGGESTS_ ?

2020-05-13 Thread Gabriel Becker
Hi Toby, As Gabor pointed out the place where the various levers R CMD check supports is in the R-internals manual, but there is a link directly to that section in https://cloud.r-project.org/doc/manuals/r-release/R-exts.html#Checking-packages It could perhaps be more prominent, perhaps by

[R-pkg-devel] RES: RES: RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Definitively this is a better way to find the macros. I think a function like 'preview_rd()' could be useful in mathjaxr Thanks for all support Olivoto -Mensagem original- De: Duncan Murdoch Enviada em: quarta-feira, 13 de maio de 2020 16:16 Para: tiagooliv...@gmail.com; 'Viechtbauer,

Re: [R-pkg-devel] RES: RES: MathJax for Rd files

2020-05-13 Thread Duncan Murdoch
On 13/05/2020 2:30 p.m., Tiago Olivoto wrote: Thank you so much! It works! In my example, I've created a simple helper function, preview_rd() preview_rd <- function(rdfile){ # without '.rd' Rd <- file.path(paste("man/", rdfile, ".rd", sep = "")) # specify the .Rd file you want to preview

Re: [R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Viechtbauer, Wolfgang (SP)
Glad to hear that. I might consider adding a function along those lines to mathjaxr itself, to make it easier to preview files while working on a help page. Best, Wolfgang >-Original Message- >From: Tiago Olivoto [mailto:tiagooliv...@gmail.com] >Sent: Wednesday, 13 May, 2020 20:31 >To:

[R-pkg-devel] RES: RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Thank you so much! It works! In my example, I've created a simple helper function, preview_rd() preview_rd <- function(rdfile){ # without '.rd' Rd <- file.path(paste("man/", rdfile, ".rd", sep = "")) # specify the .Rd file you want to preview outfile <- tempfile(fileext = ".html")

Re: [Rd] docs about _R_CHECK_FORCE_SUGGESTS_ ?

2020-05-13 Thread Gábor Csárdi
See at https://cran.r-project.org/doc/manuals/r-devel/R-ints.html#Tools Gabor On Wed, May 13, 2020 at 7:05 PM Toby Hocking wrote: > > Can someone please add documentation for that environment variable to > Writing R Extensions? An appropriate place would be section >

[Rd] docs about _R_CHECK_FORCE_SUGGESTS_ ?

2020-05-13 Thread Toby Hocking
Can someone please add documentation for that environment variable to Writing R Extensions? An appropriate place would be section https://cloud.r-project.org/doc/manuals/r-release/R-exts.html#Suggested-packages which already discusses _R_CHECK_DEPENDS_ONLY_=true [[alternative HTML version

Re: [R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Viechtbauer, Wolfgang (SP)
Thanks, Duncan. I was about to respond to suggest the same thing. One way of getting this to work: Sys.setenv(MATHJAXR.USECDN = "TRUE") Rd <- file.path("/.Rd") # specify the .Rd file you want to preview outfile <- tempfile(fileext = ".html") browseURL(tools::Rd2HTML(Rd, outfile,

Re: [R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Duncan Murdoch
On 13/05/2020 12:35 p.m., Tiago Olivoto wrote: Thanks, Wolfgang and Helmut for the explanations. When I was trying to use #'\if{html}{\out{'https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-chtml-full.js #' }} #' #'And then typing #' \ifelse{html}{\out{\[\sqrt{a^2}\]}}{\deqn{\sqrt{a^2}}}

[R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Thanks, Wolfgang and Helmut for the explanations. When I was trying to use #'\if{html}{\out{'https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-chtml-full.js #' }} #' #'And then typing #' \ifelse{html}{\out{\[\sqrt{a^2}\]}}{\deqn{\sqrt{a^2}}} My mgidi.Rd file was produced with

[Bioc-devel] Do not push with merge conflicts to Bioconductor git repo.

2020-05-13 Thread Nitesh Turaga
Dear Developers, Every time there is a release for Bioconductor we (the core team), face an issue where developers end up pushing code with the "merge conflicts". One of the reasons why we get the issue "Bad description" file in the build report is because of a merge which has gone bad and

Re: [R-pkg-devel] MathJax for Rd files

2020-05-13 Thread Viechtbauer, Wolfgang (SP)
Thanks for the info! Can confirm now that I tried this (I don't usually use RStudio). That's an RStudio issue then. My guess is that 'Preview' uses tools::Rd2HTML() and that indeed won't automatically understand macros coming from mathjaxr (or any add-on package for that matter). This would be

Re: [R-pkg-devel] MathJax for Rd files

2020-05-13 Thread Helmut Schütz
Hi Wolfgang, Viechtbauer, Wolfgang (SP) wrote on 2020-05-13 16:53: Seems like you are using roxygen2. I have little experience with that, as all my Rd files are 'handcrafted' (plus 100% organic and biodegradable). As are mine. ;-) In the HTML-preview of RStudio the LaTeX is indeed not

Re: [R-pkg-devel] MathJax for Rd files

2020-05-13 Thread Viechtbauer, Wolfgang (SP)
Seems like you are using roxygen2. I have little experience with that, as all my Rd files are 'handcrafted' (plus 100% organic and biodegradable). But what specifically do you mean by "when I try to preview the current document as HTML"? Is this some particular functionality of roxygen2 /

[R-pkg-devel] RES: MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Dear Wolfgang, Thank you so much for the awesome package I've installed mathjaxr and it worked. I have some more questions, with a short example bellow I created an equation in my mgidi.R file as follows #' \loadmathjax #' \mjsdeqn{MGIDI_i = \sum\limits_{j = 1}^f} And then I ran

Re: [Bioc-devel] How to use initializing functions correctly ?

2020-05-13 Thread Charles Plessy
Le Tue, May 12, 2020 at 10:18:24AM -0700, Hervé Pagès a écrit : > > Note that the GPos() constructor is NOT the generator function returned by > the setClass() statement that defines the GPos class. It's a constructor > function defined in the GenomicRanges package and it implements a >

Re: [Bioc-devel] Debugging not updated for coexnet package

2020-05-13 Thread Shepherd, Lori
There is lots of documentation on how to achieve this. Most specifically for pushing changes to the RELEASE_3_11 branch following the documentation http://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ Lori Shepherd Bioconductor Core Team Roswell Park Comprehensive

Re: [R-pkg-devel] clang11 CRAN check and use of Eigen

2020-05-13 Thread Dirk Eddelbuettel
Hi Chris, On 12 May 2020 at 18:00, Chris Paciorek wrote: | 1) Does anyone happen to know why this problem with Eigen is occurring | with clang11? Compilers change. Languages changes. Requirements change. Many of us have been there (e.g. witness the "excitement" about gcc-10 last December

Re: [Bioc-devel] Debugging not updated for coexnet package

2020-05-13 Thread Juan David Henao Sanchez
Hi. Thanks for your help solving this issue. Could you please let me know how I can fix the bug in the specific BioC version (3.11). How could I push my current updated code into this specific version? Thanks in advance. I am looking forward to hearing from you soon. Kind regards, Juan El

Re: [Bioc-devel] BgeeCall package present twice

2020-05-13 Thread Shepherd, Lori
Yes looking at the links further it is a legacy version. The one that resolves to a workflow page if you look closely is when 3.11 was in development phase https://bioconductor.org/packages/release/workflows/html/BgeeCall.html While the software page is the current release. I'm not exactly

[Bioc-devel] BgeeCall package present twice

2020-05-13 Thread Julien Wollbrett
Hello, For Bioconductor 3.11 I asked if it was possible to move BgeeCall from workflow section to software section. The package is now present in the software section. Thank you. When I go to this page : https://bioconductor.org/help/search/index.html?q=bgeecall/

Re: [Bioc-devel] The new version of the package 'cbaf' is not downloadable for BioC 3.11

2020-05-13 Thread Lluís Revilla
Hi, The maintainer is already aware of this error. I reported it several months ago https://github.com/colearendt/xlsx/issues/132 and is reported multiple times (issues 154, 156, 159) There is a fix on the github version of the package but the maintainter hasn't updated the CRAN version yet.

Re: [R-pkg-devel] MathJax for Rd files

2020-05-13 Thread Viechtbauer, Wolfgang (SP)
Dear Olivoto, There is a package now for this purpose: https://cran.r-project.org/package=mathjaxr https://github.com/wviechtb/mathjaxr Best, Wolfgang >-Original Message- >From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On >Behalf Of Tiago Olivoto >Sent: Wednesday,

[R-pkg-devel] MathJax for Rd files

2020-05-13 Thread Tiago Olivoto
Dear all, I'm not sure if this is the correct place to make this question, but here I am. I'm trying to use MathJax for html help files in my package metan (https://cran.r-project.org/package=metan) I have success with the following approach: Including the following call

Re: [Rd] "cd" floating in the air in the man page for paste/paste0

2020-05-13 Thread Tomas Kalibera
Thanks, fixed. Tomas On 5/13/20 5:14 AM, Dirk Eddelbuettel wrote: On 12 May 2020 at 19:59, Hervé Pagès wrote: | While reading about the new 'recycle0' argument of paste/paste0, I | spotted a mysterious "cd" floating in the air in the man page: | |recycle0: ‘logical’ indicating if

[Rd] R 4.0.1

2020-05-13 Thread peter dalgaard
A quick heads-up: We intend to have a 4.0.1 release some time early June, possibly 6/6. For the R Core Team Peter D. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: