Displaying 20 results from an estimated 20000 matches similar to: "Error in tools::build Vignettes (dir = ".")"
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
2005 Jan 19
1
* creating vignettes ... ERROR
Hi,
I have the following error when building a package
* creating vignettes ... ERROR
Error: chunk 3
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
Error in buildVignettes(dir = ".") : Error: chunk 3
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
Execution halted
I use R-2.0.1 under debian linux 2.6.9
2011 Mar 30
1
R CMD build processes inst/doc/Makefile only if there are vignette files?
Hi,
in Section 'Writing package vignettes' of 'Writing R Extensions' it says:
"Whenever a Makefile is found, then R CMD build will try to run make
after the Sweave runs, so PDF manuals can be created from arbitrary
source formats (plain LaTeX files, ...). [...] Note that the make step
is executed even if there are no files in Sweave format, [...]".
In my package,
2005 Mar 22
1
Package vignette and build
Hello,
I am writing a package called 'DLM' containing a vignette.
The vignette contains a chunck with the function call 'library(DLM)'.
This worked fine with 'R CMD check DLM', but when it comes to building
the package with 'R CMD build DLM' I get the following error message:
* creating vignettes ... ERROR
Error: chunk 1
Error in library(DLM) : There is no
2009 May 17
3
build CONTENTS or 00Index.html without installing whole package
To maintain my R site, I'm trying to install html help files only, but
also keep track of the version (with DESCRIPTION). I have the
following bash script, which works except for 00Index.html. That is
not a huge problem because the help files are still searchable, but
I'd like to fix it.
A long time ago I asked the same question, and Brian Ripley said to
use --index as an option to
2013 Apr 01
1
missing exported methods when compiling vignettes in R 3.0.0 RC
A new problem has cropped up with compiling vignettes for my package BayesFactor. I'm not sure when it started, but I can tell you it didn't occur on R 2.15.3, and it does on 3.0.0 RC (2013-03-31 r62463) (session info is at the bottom of this message).
I have defined methods for which.min and which.max for a class (I've defined both S3 and S4 methods for the class
2008 Apr 07
1
How to include a vignette with my package?
I want to include a vignette with a package I wrote. I did follow the
"Writting R extentions" document step by step, but went I run "Rcmd build",
an error occurs. It goes like this:
"
* creating vignettes ... ERROR
.
.
.
.
:7: Emergency stop
L7L ==> Fatal error occurred, no output PDF file produced!texify: pdflatex
failed for some reason <see log file>.
2013 Jul 17
1
SweaveParseOptions, quoted commas, and knitr vignettes
I haven't figured it out entirely, but it looks like there are a
couple of small glitches with knitr-based vignettes and
SweaveParseOptions.
I posted the tarball of a package with a knitr vignette with (as far
as I can tell) everything properly coded in the DESCRIPTION file
(VignetteBuilder: knitr, Suggests: knitr) and the vignette itself
(%\VignetteEngine{knitr::knitr}). When Windows
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?:
*
2011 Mar 26
0
rebuilding vignettes in 2.13-0-alpha fails if name of source dir is not package name
Dear list,
I have been checking my package ('analogue') using R2.13-0-alpha
(details of exact svn version appended below) and the R CMD check
procedure is generating an error rebuilding a vignette in the package,
which raises a NOTE in the check.
The log printed to screen during check shows:
....
* checking re-building of vignettes ... NOTE
Error in re-building vignettes:
...
Error in
2013 Sep 15
1
FOSS licence with BuildVignettes: false
Dear All,
I have been checking the metafor package against R-devel.
R CMD check --as-cran metafor
yields one note:
FOSS licence with BuildVignettes: false
Yes, I have 'BuildVignettes: FALSE' in my DESCRIPTION file. I see at http://developer.r-project.org/blosxom.cgi/R-devel/NEWS:
Tue, 25 Jun 2013
CHANGES IN R-devel UTILITIES
'R CMD check --as-cran' warns about a false
2012 Mar 28
2
--as-cran / BuildVignettes: false
I have packages where I know CRAN and other test platforms do not have
all the resources to build the vignettes, for example, access to
databases. Previously I think putting
BuildVignettes: false
in the DESCRIPTION file resolved this, by preventing CRAN checks from
attempting to run the vignette code. (If it was not this, then there was
some other magic I don't understand.)
Now, when
2017 Dec 05
2
FW: R-devel error
I am resubmitting this bug report but with additional information. I am running this with windows 10: w64-mingw32 with R Under development (unstable) (2017-12-04 r73829). I build 'httk' from the command prompt using 'R CMD build httk' after installing the required packages. Then when the vignettes are being created, it crashes. Today I installed the latest versions of Rtools,
2010 Sep 16
1
Lack of consistent cross-platform behaviour of tools:::buildVignettes()
Hi,
On both Unix and Windows there is a mechanism to add variables
to the environment when R is started. I noticed that, on Unix,
this mechanism is not used when R is started normally at the
command line but only when it's started using the 'R CMD' syntax.
One problem with this is some lack of consistent cross-platform
behaviour. For example:
On Linux:
$ echo $TEXINPUTS
$
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
2017 Dec 06
2
FW: R-devel error
Interesting, yesterday I had exactly this problem, but today I solved it
(see the R-pkg-devel list) by _installing_ R-devel and
> update.packages(checkBuilt = TRUE)
I also tried it on Martin's Fedora 26 example below. Worked fine (had to
install some packages...)
On ubuntu 16.04.
G?ran Brostr?m
On 2017-12-06 11:29, Martin Maechler wrote:
>>>>>> Pearce, Robert
2010 Sep 15
1
running 'make' failed during vignette creation ('R CMD build') on Windows
Hi,
This is a follow-up to the problem reported here:
https://stat.ethz.ch/pipermail/r-devel/2010-September/058460.html
After I updated R-2.12 to 2010-09-13 r52905 on the Bioc build system,
some of the packages that have a Makefile in <pkg>/inst/doc still
don't build on Windows. For example, 'R\bin\R.exe CMD build adSplit'
gives:
* checking for file
2015 Jan 13
2
R CMD build looking for texi2dvi in the wrong place (R-devel)
R CMD build fails with recent R-devel because it is looking for texi2dvi in /usr/local/bin, but on this system, MacTex has installed it in /usr/bin.
$ R CMD build IRanges
* checking for file 'IRanges/DESCRIPTION' ... OK
* preparing 'IRanges':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
* creating vignettes ... ERROR
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
2012 May 14
1
Vignette problem
I'm having a problem rebuilding a package, new to me in R 2.15.0
(Linux) It hits all that contain the line
\usepackage[pdftex]{graphics}
and leads to the following when running R CMD check on the directory.
(I do this often; a final run on the tar.gz file will happen before
submission.)
Since I float and resize my figures, removing the line is fatal in other
ways.