similar to: R CMD build processes inst/doc/Makefile only if there are vignette files?

Displaying 20 results from an estimated 8000 matches similar to: "R CMD build processes inst/doc/Makefile only if there are vignette files?"

2011 Mar 22
2
R_HOME path getting munged in inst/doc/Makefile on Windows
Hello, I have come across two separate packages that have a Makefile in inst/doc which use the R_HOME variable. In both cases, the path to R_HOME gets munged in such a way that commands that include R_HOME fail on Windows: For example, one Makefile, for the xmapcore package ( https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/xmapcore/username/password: readonly) has this:
2013 Mar 13
1
Failed to locate 'weave' output file / vignette product does not have a known filename extension
Hello, I'm seeing three different vignette-related errors with recent versions of R-3.0.0 alpha. First, with the package BitSeq (http://bioconductor.org/packages/2.12/bioc/html/BitSeq.html), I get the following when trying to build the package: Error: processing vignette ?BitSeq.Rnw' failed with diagnostics: Failed to locate the ?weave? output file (by engine ?utils::Sweave?) for
2011 Mar 30
2
problem with png() and large dimensions on some 32-bit Windows machines
Hello, I encountered this: > png(file=tempfile(), width=1165, height=12983) Error in png(file = tempfile(), width = 1165, height = 12983) : unable to start png() device In addition: Warning messages: 1: In png(file = tempfile(), width = 1165, height = 12983) : Unable to allocate bitmap 2: In png(file = tempfile(), width = 1165, height = 12983) : opening device failed > On the
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'
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
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
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 Aug 28
1
Error when using buildVignettes()
Dear all, When running function 'testQAReport()', which uses function 'buildVignettes()' to create a pdf-file I get the following error: > source("testQAReport.R") > testQAReport() Error in .get_package_metadata(pkgdir) : Files 'DESCRIPTION' and 'DESCRIPTION.in' are missing. Since I did not get this error in earlier versions of R, could you
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
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
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
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>.
2010 Nov 02
1
inst/ and hidden files/directories, especially inst/.svn/?
In Section 'Package subdirectories' of 'Writing R Extensions', it says about the inst/ directory that: "The contents of the inst subdirectory will be copied recursively to the installation directory (except perhaps hidden files with names starting with ?.?)." Indeed, on Windows with R v2.12.0 patched (2010-11-01 r53513) and R v2.13.0 devel (2010-11-01 r53513), if you
2011 Dec 06
1
Vignette using parallel's makeCluster function has trouble building on Windows 7
Hi, all-- I've been working on a doParallel package to provide a foreach parallel backend for the new parallel package, but I am having trouble building the vignette. On my system, if I use the following minimal vignette (call it buggyVignette.Rnw): \documentclass[a4paper]{article} \title{Sweave Example 1} \author{Rich Calaway} \begin{document} \maketitle In this example
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
hello all I am trying to learn how to use the RGtk2 package... so, my first problem is: I don't get the right way for populate my gtkListStore object! any help is welcome... because I am trying several day to mount the code... Thanks in advanced Cleber N. Borges --------------------------- # my testing code library(RGtk2) win <- gtkWindowNew() datamodel <-
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
2009 Sep 08
1
makefile for sweave
Hello, I have the following makefile. The problem is that the bibliography doesn t work. Any help would be appreciated! I really don t don t what to do..:-( # The sources of the report (tex, Rnw and other files (e.g. bib, idx)) TEX_CMPS = Report problem RNW_CMPS = prop1 prop2 ExeExps OTHER = Report.bib # The name of the report to produce all: Report.pdf code: $(RNW_CMPS:=.R) clean: rm
2010 Oct 25
1
Sweave and absolute escaped backslashed Windows paths in R 2.12.0
I've noticed a change in behavior in R 2.12.0 from 2.11.1 regarding the treatment of absolute paths in the file argument of Sweave in a Windows environment. Consider the minimal Rnw file, attached and reproduced below my signature in case .Rnw files get stripped. This file is stored on my (Windows) computer in H:/My Documents. Using an absolute path with the standard window's
2014 Nov 03
0
Pkg creation: Sweave: multiple files vignette: Error in R CMD check
Hello R-developers! I am creating a package (using devtools and RStudio) and I would like to split my vignette into multiple Rnw-files. As an example I tried the code from: https://support.rstudio.com/hc/en-us/articles/200486298 (--> Working with multiple Rnw files) The Rnw-files work fine with "Complie pdf" in RStudio as well as with Sweave("Master.Rnw"). But, if I try
2007 Apr 26
2
SweaveInput and absolute paths
Hi, Is there a way to turn off the automatic inclusion of "./" at the beginning of a path specified in an \SweaveInput{} instruction? I'd like to create some reusable "template modules" of Sweave code and put them in a standard directory like /Resources/Affymetrix Then the corresponding file that uses one of these would include a command like