Displaying 20 results from an estimated 10000 matches similar to: "Vignette questions"
2009 May 10
2
Vignettes with missing or empty \VignetteIndexEntry:
Hi,
I have a problem when checking the package 'probdistr' (on probability
distributions).
I got this warning
* checking index information ... WARNING
Vignettes with missing or empty \VignetteIndexEntry:
[1] "probdistr-chi" "probdistr-contextra" "probdistr-discrete"
[4] "probdistr-discrextra" "probdistr-exp"
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
2004 Oct 29
3
R-exts.texi: suggestion for small change to Vignette section (PR#7323)
I recently wrote a vignette, with the following at the top of the .Rnw
file:
%%\VignetteIndexEntry{How to use look up tables for h() functions}
%%\VignetteDepends{sjedmin, spatstat}
Using vExplorer() on this function, I got an error from this part of
getVigInfo():
lines <- grep("^%[[:space:]]*\\\\Vignette", file)
if (length(lines) == 0)
stop("File ", vig,
2008 Jan 21
1
Adding an Sweave Vignette to a package
I'm finalizing development of a package that will include a vignette.
Without the vignette, the package builds fine with no warnings and is
ready for distribution. Now, I am following the directions for
developing vignettes "Sweave, Part II: Package Vignettes" by Friedrich
Leisch.
I am using a windows XP machine (other session info below). Here is what
I have done.
1) I add the
2016 Mar 04
2
vignette index
I think the online order of vignette files are not based on vignette title or filename alphabetically. I am just curious: by what order these vignette files were displayed online so I can make changes accordingly?
Thanks,
Zhu
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
Sent: Friday, March 04, 2016 10:47 AM
To: Wang, Zhu; r-devel at r-project.org
Subject:
2013 Feb 11
1
Avoid re-building a vignette
I once knew the answer to this, but can't find where I found it.
Say I have a vignette that I don't want R to automatically rebuild, perhaps it uses some
data I can't share or takes too long to run or whatever. Say it is
mypackage/vignettes/charlie.Rnw
It can create the pdf from an R session that actually has the data, place that result in
inst/doc/charlie.pdf, then run
R
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
2024 Mar 11
2
Vignettes with long compute time
Is there a way to include the compiled version of a vignette in the doc directory but mark
it to NOT be rerun by CRAN??? I think I remember that this is possible, but have forgotton
how.?? (It might even be a false memory.)
Terry T.
Background:? Beth Atkinson and I are splitting out many of the vignettes from the survival
package into a separate package survivalVignettes.? There are a few
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
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
%
2014 Dec 09
2
UTF8 markdown vignette
Dear all,
I'm trying to use a Markdown vignette with UTF-8 encoding. It compiles well when knitting the vignette in RStudio, but it fails to recognize the UTF-8 settings when building the source package. Can someone point out what I'm doing wrong? I tried to put the relevant information below.
Best regards,
Thierry
Details:
Using 64-bit R 3.1.2 with encoding = "native.enc"
2012 Jul 03
2
Problem in vignette packaging of Sweave in utils package
In ?Sweave, it refers to Sweave User Manual. In the doc folder of
utils package, I see "Sweave.pdf".
However, I can't find it from within R
> vignette("Sweave User Manual")
Warning message:
vignette ?Sweave User Manual? not found
> browseVignettes("utils")
No vignettes found by browseVignettes("utils")
> library(help=utils)
does not
2009 Mar 16
1
vignette index not linked into HTML help system for package
Dear R developers,
I observed that the html help page index entry "Read overview or browse
directory" for package vignettes is missing in recent R-devel.
This happened on two independent computers (WinXP Prof. SP3, German)
with R-devel compiled from sources svn rev. 48125 resp. 48128
It's the same for my own and also for more prominent packages as well
(e.g. grid).
The
2014 Dec 09
2
UTF8 markdown vignette
Dear Duncan,
The UTF-8 characters aren't properly rendered in the pdf version of the vignette.
$?? ????? ?????? ?????? ????? ?? ?? is rendered as $????? ?????????? ???????????? ????? ?????? ? ???????? ????????
The same problem occurs when I use render("vignette.md", output_format = "mypackage::mystyle"), instead of render("vignette.md", output_format =
2011 Apr 23
4
How to create vignette.pdf for R-2.13.0?
Dear all,
While R CMD check and R CMD INSTALL have always created the vignettes on
R-2.12.1 or any earlier versions of R, I am no longer able to build the
vignettes on R-2.13.0.
Instead R CMD check gives me the following output:
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... WARNING
Package vignette(s) without corresponding PDF:
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
2010 May 03
2
Problem with vignette compilation during R CMD check
Dear R-users,
I am going through the last steps of package prep before submission to CRAN
and I have the following problem. My package contains a single vignette
written in optimbase.Rnw and that in stored in /inst/doc. optimbase.Rnw
contains multiple \input{} statements that refer to .tex files stored in
/inst/latex.ref/, e.g.:
\input{../latex.ref/optimbase-package.tex}
When I compile my Rnw
2015 Jul 09
4
R CMD build failure
I have a local library 'dart' that imports "httr". It has routines that access central
patient data such as birth date, so it is heavily used locally but of no interest to
anyone else.
The httr library (and 300 others) are in a shared directory, referenced by everyone in the
biostatistics group via adding this location to the .libPaths in their default .Rprofile.
2015 Mar 25
2
vignette checking woes
I'm having trouble with R CMD check of my quantreg package. All is well
until I get to:
checking running R code from vignettes ...
?rq.Rnw? ... failed
ERROR
Errors in running code in vignettes:
when running code in ?rq.Rnw?
when I see a snippet from the vignette code and then:
Loading required namespace: MatrixModels
When sourcing ?rq.R?:
Error: could not find function
2014 Dec 09
4
UTF8 markdown vignette
A few things to clarify:
1. You do not necessarily have to keep the \usepackage{} line if you
use %\VignetteEncoding{UTF-8}, because Pandoc will use UTF-8 anyway in
its LaTeX template.
2. Perhaps the vignette engine in R has done something clever to
convert utf8 to UTF-8, but I'd recommend %\VignetteEncoding{UTF-8}
instead of %\VignetteEncoding{utf8} to make sure it is a valid
encoding name,