Displaying 20 results from an estimated 10000 matches similar to: "Vignettes and CRAN checks"
2017 Feb 22
0
R CMD build error during vignettes build
On 21/02/17 19:06, Sebastian P. Luque wrote:
> Hello,
>
> I'm trying to rebuild a package (using R version 3.3.2 (2016-10-31))
> that has not seen any changes since it was last built without problems
> in previous R versions. It fails during vignette building with:
>
> ---<--------------------cut here---------------start------------------->---
> $ R CMD build
2009 Nov 13
1
vignettes: .png graphics or pre-compiled .pdf
In a package I'm working on there is a vignette with a number of graphs
that result in huge .pdf files, so
the .pdf for the vignette is around 17 Mb. If these graphs are
converted to .png, and the .tex file
is compiled with pdflatex, the resulting .pdf is ~1 Mb.
I'm reluctant to put the .Rnw file into the package as is, generating
the huge .pdf for the vignette.
I first tried
2012 Sep 05
1
Cran package checks
Some questions motivated by this discussion.
From the CRAN policy page:
"Checking the package should take as little CPU time as possible, as the CRAN check farm
is a very limited resource and there are thousands of packages. Long-running tests and
vignette code can be made optional for checking, but do ensure that the checks that are
left do exercise all the features of the
2012 Jan 24
1
Sweave driver extension
Almost all of the coxme package and an increasing amount of the survival
package are now written in noweb, i.e., .Rnw files. It would be nice to
process these using the Sweave function + a special driver, which I can
do using a modified version of Sweave. The primary change is to allow
the following type of construction
<<coxme>>
coxme <- function(formula, data, subset, blah blah
2017 Feb 21
2
R CMD build error during vignettes build
Hello,
I'm trying to rebuild a package (using R version 3.3.2 (2016-10-31))
that has not seen any changes since it was last built without problems
in previous R versions. It fails during vignette building with:
---<--------------------cut here---------------start------------------->---
$ R CMD build diveMove
* checking for file ?diveMove/DESCRIPTION? ... OK
* preparing ?diveMove?:
*
2013 Feb 15
1
Suggestion: Custom filename patterns for non-Sweave vignettes
Hi,
as far as I understand it, the new R devel feature of processing
non-Sweave vignettes will (a) locate any "[.][RrSs](nw|tex)$" or
".Rmd" files, (b) check for a registered vignette engine, (c) process
the file using the registered "weave" function, (d) and possibly post
process the generated weave artifact (e.g. a *.tex file).
I'd like to propose to extend
2012 Jun 22
1
Vignettes are not being (re)built.
I'm adding a couple of vignettes to an existing package.
When I make a change to the sweave file, and run the check command,
c:\conifers\trunk>R CMD check rconifers
I get the following message(s) in the 00check.log file:
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... WARNING
Package vignette(s) without corresponding PDF:
2009 Aug 24
0
CRAN and noweb
his is a query for suggestions on how best to setup the package for
coxme. This should be ready for CRAN in about a week - I'm working out
documentation details and some last test cases.
The R CMD check and INSTALL processes work great on my computer. The
rub is that they depend on noweb. Both algorithmicly and statistically
this is the most complex bit of code I have done, and after some
2013 Aug 23
2
packages with Sweave and knitr vignettes?
Now that R 3.0.0+ supports non-Sweave vignettes, R-exts \S 1.4.2 seems
to imply that
it is possible to include both Sweave and knitr vignettes in a single
package.
I'm wondering
if anyone has tried this and/or if there are some hidden gotchas putting
this into practice,
and concerned about creating problems with CRAN checks if I try this.
Consider two vignettes:
pkg/vignettes/vign1.Rnw,
2013 Apr 21
2
vignettes: problems with PDF compaction
[Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET]
Each time I update my heplots package, I get warnings from R CMD check
on R-Forge,
* checking sizes of PDF files under ?inst/doc? ... WARNING
?gs+qpdf? made some significant size reductions:
compacted ?HE-examples.pdf? from 739Kb to 366Kb
and upon submission to CRAN, a message from maintainers:
On CRAN now: but again there were warnings
2011 Nov 07
3
CRAN: How to list a non-Sweave doc under "Vignettes:" on package page?
Hi,
is it possible to have non-Sweave vignettes(*) in inst/doc/ be listed
under 'Downloads' on CRAN package pages? For instance, in my R.rsp
package I have a inst/doc/report.pdf (part of the source *.tar.gz)
that is not detected/listed. The PDF is not based on a Sweave
vignette but an *.tex.rsp vignette that is dynamically created via
inst/doc/Makefile. It is listed
(*) BTW, can the
2014 Apr 05
1
Package vignettes share the same environment?
In a package 'vig' R CMD build vig (or tools::buildVignettes(dir="vig") with
$ cat vig/vignettes/vig1.Rnw
\documentclass{article}
\begin{document}
<<>>=
x <- 1
@
\end{document}
$ cat vig/vignettes/vig2.Rnw
\documentclass{article}
\begin{document}
<<>>=
x
@
\end{document}
produces vig2.pdf where x is defined with value 1 -- the vignettes share a build
2013 Sep 17
2
processing of /vignettes and /inst/doc
It is stated in R-exts that Sweave files (.Rnw) are either processed in
/vignettes or /inst/doc, not both. Furthermore, it is stated that external
manuals and other files in /inst/doc will be installed.
This behaviour has been used to deal with the situation where a package has
two "vignettes", one that is easily processed and one that has a long
running time. This could be done by
2014 Feb 20
1
Where to put package vignettes
Dear R-devel list,
My name is Guillermo Vinu?. I have created an R package that includes a
vignette. Earlier on, to test my package, I tried to install it both in
Linux and Windows and it worked. My vignette was in /inst/doc.
Now, I have finished for good and before submitting my package to CRAN
I've tried to install it again first in Linux and then in Windows (I
removed that first
2012 Dec 10
1
Generate .Rout.save files for vignettes
I am looking for a way to generate .Rout.save files for vignettes.
The manual "Writing R Extensions" states here [1] in item number 20:
"If there is a target output file .Rout.save in the vignette source
directory, the output from running the code in that vignette is compared
with the target output file."
Yet, there is no pointer on how to get the correct .Rout.save files
2014 Aug 25
1
vignette index going AWOL
I?m preparing a package (fastR) for submission to CRAN, but the vignette index keeps going AWOL, or at least R CMD check ?as-cran thinks so. I?ve tried several things and gave myself the weekend to think of other things, but I can?t figure it out. Perhaps someone on the list can lend a hand.
Here?s one example situation, where I build the index.html file myself and put it in inst/doc/index.html
2005 Apr 28
1
help files and vignettes
Hi all,
I'm writing a vignette for my package, and I would like to include some of
the package help files in there as well. Is there an easy way of doing so?
I tried using R CMD Rdconv to generate latex files from .Rd files but I am
not sure how to include these into a .Rnw file (ie the vignette source). The
resulting file from Rdconv do not readily compile using latex ...
The other option I
2009 Feb 07
1
vignettes are installed but not viewable?
Hi, I have a package for which I'm writing a vignette. The vignette
looks fine as indicated by R CMD check. However after installing the
package (in my personal R library location) doing
vignette('rcdk')
says
Warning message:
vignette 'rcdk' *not* found
But I can see the PDF file located under rcdk/doc in the R library
directory. The header of the Rnw file is
%
2007 Sep 20
1
Sweave vignettes and bitmap on windows
During vignette generation on Windows, Sweave seems to clean up before
all graphics files are completely processed. For instance, if tmp.Rnw
is:
\documentclass[12pt]{article}
\begin{document}
<<>>=
bitmap("afile.png")
plot(1:100)
dev.off()
@
\end{document}
Then:
C:\R\tmp>R CMD Sweave tmp.Rnw
Writing to file tmp.tex
Processing code chunks ...
1 : echo term verbatim
2012 Jun 06
1
stumped on re-building package vignette
[Env: Win Xp / StatET 2.0 / R 2.15.0]
In my heplots package I extended the HE-examples.Rnw vignette under
inst/doc. The package passes R CMD check
on my machine:
* using log directory 'C:/eclipse-3.7/heplots.Rcheck'
* using R version 2.15.0 (2012-03-30)
* using platform: i386-pc-mingw32 (32-bit)
...
* checking sizes of PDF files under 'inst/doc' ... OK
* checking installed files