Re: [R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-23 Thread Ivan Krylov
On Sat, 23 Jan 2021 04:54:51 -0500 Duncan Murdoch wrote: > I wonder if there's a way to define stubs for the macros in the > package, and use mathjaxr versions only conditional on having it > available? I had an idea along the lines of \Sexpr[results=rd]{if (...) '\\newcommand{\\mjeqn}{...}'}

Re: [R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-23 Thread Duncan Murdoch
On 22/01/2021 4:51 p.m., Dirk Eddelbuettel wrote: Hi James, On 22 January 2021 at 15:42, James Pustejovsky wrote: | Thanks very much for your input! By "patch it out" do you mean modify my | package description for the Debian distribution only? Would it work to And code / content! Can't just

Re: [R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-22 Thread Dirk Eddelbuettel
Hi James, On 22 January 2021 at 15:42, James Pustejovsky wrote: | Thanks very much for your input! By "patch it out" do you mean modify my | package description for the Debian distribution only? Would it work to And code / content! Can't just alter the DESCRIPTION if the Rd still call

Re: [R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-22 Thread James Pustejovsky
Dirk, Thanks very much for your input! By "patch it out" do you mean modify my package description for the Debian distribution only? Would it work to create a separate branch of my Github repo with modifications for the Debian distro, and then submit that directly to Debian maintainers? I'm

Re: [R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-22 Thread Dirk Eddelbuettel
Hi James, On 22 January 2021 at 14:29, James Pustejovsky wrote: | I'm writing to see if anyone has suggestions for how to handle an issue I'm | facing with the clubSandwich package ( | https://CRAN.R-project.org/package=clubSandwich; Github repo: | https://github.com/jepusto/clubSandwich). The

[R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-22 Thread James Pustejovsky
Greetings, I'm writing to see if anyone has suggestions for how to handle an issue I'm facing with the clubSandwich package ( https://CRAN.R-project.org/package=clubSandwich; Github repo: https://github.com/jepusto/clubSandwich). The package documentation uses the fairly new package mathjaxr