Displaying 20 results from an estimated 7000 matches similar to: "Problem in vignette packaging of Sweave in utils package"
2003 Dec 26
1
Problems converting output from Sweave to PDf
I am having trouble converting the output from Sweave
into a valid PDF file.
I have created a simple .Rnw file which will become a
full vignette at some point, but during the
intermediate testing, I got errors from texi2dvi.
This is what I have done.
0) Using a Windows Xp system
1) Created a file called GeneSpring.Rnw
2) Convert this to Tex using Sweave("GeneSpring.Rnw")
from within R
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
2007 Jul 18
1
possible bug R CMD check: No space(s) allowed after \VignetteDepends{}
R CMD check gives an error when a vignette entry %\VignetteDepends{} has any
extra space at the end.
Maybe this is by design, but I found it confusing.
Changing the function "vignetteMetaRE" in tools package could solve the
problem. I.e.
vignetteMetaRE <- function(tag)
paste("[[:space:]]*%+[[:space:]]*\\\\Vignette", tag,"\\{([^}]*)\\}", sep
= "")
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,
2010 Nov 16
1
Vignette Questions
Dear List,
I recently stumbled over the possibility and need to specifiy
% \VignetteDepends{}
in my vignettes. I did not know about this, and I notice that it is not
mentioned in the R-extensions manual section "Writing package vignettes".
I have some questions with regards to that:
- would it be possible to include into the section "Writing package
vignettes" some hint
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 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
2008 May 27
0
vignette help
Could someone please point me to where information about
the two entries %\VignetteDepends{} and %\VignettePackage{}
are documented?
I'm getting an error with %\VignetteDepends{} with my
package name in braces. Looking at the vignettes on my
system, some include the package name and some don't.
Should it be there? If so, why might I be getting an error
doing so?
$ R CMD check SuperCurve
2002 Oct 30
4
Sweave in packages
Dear R folks,
One of the fantastic new tools in R is `Sweave'. I have tested it so much that I
know it works and produces fine documentation, and with (GNU) Emacs/ESS it is
nice to work with, too. I started to have a look at including some Swoven (is
that a strong verb?) documentation with my R package, but it seems that there is
no model to copy among those packages that I have installed in
2007 Jun 01
2
HTML vignette browser
Hi,
this is tangentially related to the recent discussion on vignettes.
vignette() currently produces a listing of available vignettes, but
these are not clickable. Since R has a browseURL() function, it seems
natural to have a version that produces HTML with clickable links.
Here's an attempt at that:
source("http://dsarkar.fhcrc.org/R/vignette-browser.R")
browseVignettes()
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
%
2012 Sep 10
1
problem building vignette
Hi,
I'm trying to get a package to pass through "R CMD check --as-cran" and
have run into a problem that gives me no idea where to look to fix it.
I'm running R version 15.1 on a Windows 7 64-bit machine, with the
current set of Rtools. An attempt to check the package dies at the
following step:
* checking running R code from vignettes ...
'SIBER.Rnw'
2014 Nov 13
3
Changing style for the Sweave vignettes
As a user, I am always annoyed beyond measure that Sweave vignettes
precede the code by a command line prompt. It makes running examples
by simple copying of the commands from the vignette to the console a
pain. I know the idea is that it is clear what is the command, and
what is the output, but I'd rather precede the output with some kind
of marking.
Is there any other solution possible /
2007 Apr 18
1
Problem with: Vignette dependencies (\VignetteDepends{} entries) must be contained in
Hello!
I have just discovered a possible bug or lack of my knowledge. The last
option is not so uncommon and I decided to ask here before flooding the
bugs repository.
Say I have a package test with vignette. Moving package directory to
some other name, say test2, fails R CMD check with
$ R CMD check test2
* checking for working latex ... OK
* using log directory
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"
2004 Aug 31
1
make check failure
I have built today's R-devel without problem on a fresh installation of
debian testing. However, 'make check' fails. In
'tests/Examples/tools-Ex.Rout.fail':
> ### * vignetteDepends
>
> flush(stderr()); flush(stdout())
>
> ### Name: vignetteDepends
> ### Title: Retrieve Dependency Information for a Vignette
> ### Aliases: vignetteDepends
> ### Keywords:
2020 Nov 01
2
vignettes present in 2 folders or won't work
Dear all,
I am struggling with an issue related to static vignettes: they work, but
only when present in double in the tarball -- in the folder inst/doc and
vignettes; see below for details.
Details:
I am pre-compiling heavy vignettes thanks to the vignette builder R.rsp.
So basically, I have PDF files which I want the package to use as Vignettes.
For this, I have the following in my
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 =
2012 Apr 11
2
Vignette questions
Context: R2.15-0 on Ubuntu.
1. I get a WARNING from CMD check for "Package vignette(s) without
corresponding PDF:
In this case the vignettes directory had both the pdf and Rnw; do I
need to move the pdf to inst/doc?
I'm reluctant to add the pdf to the svn source on Rforge, per the
usual rule that a code management system should not have both a primary
source and a object
2004 Oct 29
0
R-exts.texi: suggestion for small change to Vignette section (PR#7325)
>>>>> On Fri, 29 Oct 2004 12:47:46 +0200 (CEST),
>>>>> S J Eglen (SJE) wrote:
> 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