similar to: possible bug R CMD check: No space(s) allowed after \VignetteDepends{}

Displaying 20 results from an estimated 200 matches similar to: "possible bug R CMD check: No space(s) allowed after \VignetteDepends{}"

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
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,
2003 Sep 28
1
infinite recursion during package installation with methods, setAs
I ran into a problem recently trying to update a package which uses S4 methods using a recent beta of R. I think I can reproduce it with a simple example. I have package called `testpkg' in directory testpkg/. In the R/ subdirectory of testpkg/ I have a file called testpkg.R which contains the following two lines: setClass("testpkg", representation(pts = "list"))
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:
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
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
2016 Apr 26
1
Issue while building xtable on R on Ubuntu 15.04
Please help in the below mentioned issue. Regards Zaid Golwala -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Zaid Golwala Sent: Wednesday, April 06, 2016 1:35 PM To: r-help at R-project.org Subject: [R] Issue while building xtable on R on Ubuntu 15.04 Hi, I am trying to build xtable on R on Ubuntu 15.04 but I get following error : + R CMD
2020 Sep 11
4
Garbage collection of seemingly PROTECTed pairlist
I want to write an R function using R's C interface that takes a 2-column matrix of increasing, non-overlapping integer intervals and returns a list with those intervals plus some added intervals, such that there are no gaps. For example, it should take the matrix rbind(c(5L, 6L), c(7L, 10L), c(20L, 30L)) and return list(c(5L, 6L), c(7L, 10L), c(11L, 19L), c(20L, 30L)). Because the output is
2017 Nov 17
0
Risks of using "function <- package::function" ?
On 16/11/2017 4:53 PM, Boris Steipe wrote: > Large packages sometimes mask each other's functions and that creates a headache, especially for teaching code, since function signatures may depend on which order packages were loaded in. One of my students proposed using the idiom > > <function> <- <package>::<function> > > ... in a preamble, when we use
2007 Apr 11
1
R CMD build fails with try(stop()) in vignette
A vignette in <pkg>/inst/doc with \documentclass[]{article} \begin{document} <<test>>= try(stop('err')) @ \end{document} produces an error with R CMD build <pkg>: ... ** building package indices ... * DONE (testPkg) * creating vignettes ... ERROR Error in try(stop("err")) : err This is not seen with Sweave alone. > sessionInfo() R version 2.5.0
2020 Jan 24
3
R package builder silently continues after unclosed brace
If you start a function in one file but don't close it, the package will still build if you manage to close it in a later file. Like so: a.R b.R c.R a.R: function_a <- function(){ print("this is function_a") } b.R: function_b <- function(){ print("unclosed function_b") # no closing } c.R: function_c <- function(){ print("function_c will be part of
2019 Jan 24
0
Possible setClassUnion Unloading Issue
I'm encountering a problem caused by class unions from unloaded packages that are referenced by the still-loaded subclasses. In essence, when the class union is loaded initially, it registers itself as a super class of the component classes in the S4 cache. When the package the class union lives in is unloaded, it does not undo that registration. Here is an MRE of the problems it causes:
2007 Sep 23
3
html help fails for named vector objects (PR#9927)
help(letters, htmlhelp=TRUE) fails. Under the Mac OSX gui, the message is 'Help for the topic "a" was not found.' Under the version documented below, and under Windows, the message is "No documentation for 'a' in specified packages and libraries:" repeated for all the elements of letters, then followed by "you could try
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
2012 Nov 27
0
Puzzling behavior while testing
I'm testing a new release of survival, executing the following piece of code: .... for (testpkg in survdep) { z <- testInstalledPackage(testpkg, outDir="tests") cat(testpkg, c("Ok", "Failed")[z+1], "\n", file="progress", append=T) } The vector survdep contains the names of all 156 packages listed as reverse depends on the CRAN
2020 Oct 08
1
Coercion function does not work for the ALTREP object
Hi Gabriel, here is a simple package for reproducing the problem. https://github.com/Jiefei-Wang/testPkg Best, Jiefei On Thu, Oct 8, 2020 at 5:04 AM Gabriel Becker <gabembecker at gmail.com> wrote: > Jiefei, > > Where does the code for your altrep class live? > > Thanks, > ~G > > On Wed, Oct 7, 2020 at 4:25 AM Jiefei Wang <szwjf08 at gmail.com> wrote: >
2017 Nov 17
2
Risks of using "function <- package::function" ?
Obvious? How about "obscurity"? Just directly use pkg::fun if you have name collision. -- Sent from my phone. Please excuse my brevity. On November 16, 2017 4:46:15 PM PST, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: >On 16/11/2017 4:53 PM, Boris Steipe wrote: >> Large packages sometimes mask each other's functions and that creates >a headache,
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
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
2017 Nov 16
2
Risks of using "function <- package::function" ?
Large packages sometimes mask each other's functions and that creates a headache, especially for teaching code, since function signatures may depend on which order packages were loaded in. One of my students proposed using the idiom <function> <- <package>::<function> ... in a preamble, when we use just a small subset of functions from a larger package. I like that