Re: [R-pkg-devel] Note: significantly better compression could be obtained ...

2021-03-03 Thread Sebastian Meyer
Am 04.03.21 um 01:41 schrieb Rolf Turner: > > ... by using R CMD build --resave-data > > But I *did* use that flag with my build command!!! And yet "R CMD > check" seems to think that I didn't! Just to be sure: Are you running R CMD check on that freshly built tarball or is devtools::check() in

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Göran Broström
Hi Rolf, On 2021-03-04 03:51, Rolf Turner wrote: I am trying to create a vignette in a package (basically just using LaTeX code; no R calculations or data are involved). The LaTeX code involves the use of the align* environment from the amsmath package. When I try to run Sweave() on the *.R

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Ott Toomet
As I read the docs (a few months ago though), you are supposed to include the pdf and encouraged to include sources, but the process to get pdf from source may depend on your private libraries/data/software, and is not replicated on CRAN checks. This seemed to work for me as my vignette includes a

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Henrik Bengtsson
The R.rsp has a vignette engine for plain LaTeX sources. See https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-LaTeX_vignettes.pdf for how. It's straightforward. Maybe that helps. Henrik On Wed, Mar 3, 2021, 18:51 Rolf Turner wrote: > > I am trying to create a vignette in a pac

[R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Rolf Turner
I am trying to create a vignette in a package (basically just using LaTeX code; no R calculations or data are involved). The LaTeX code involves the use of the align* environment from the amsmath package. When I try to run Sweave() on the *.Rnw file I get a corresponding *.tex file, but then wh

[R-pkg-devel] Note: significantly better compression could be obtained ...

2021-03-03 Thread Rolf Turner
... by using R CMD build --resave-data But I *did* use that flag with my build command!!! And yet "R CMD check" seems to think that I didn't! I have done "R CMD build --resave-data kanova" (where "kanova" is the name of the package in question), to make sure that I didn't fumble-finger somewh