[R] Building Package Help Files

2015-04-04 Thread Glenn Schultz
Hello All, I am working on the documentation for my R package and I have a question regarding the help files.  I have noticed in some packages the developer created an alphabetical list with hyper links.  My package is for the analysis of mortgage backed securities.   So I would like to organi

Re: [R] Building package problem

2011-11-11 Thread Prof Brian Ripley
The posting guide asks for the output of sessionInfo() And what does Sys.timezone() say (it isn't always helpful). On Fri, 11 Nov 2011, Eduardo Mendes wrote: Hello Many thanks for the replies. I am note sure whether you've got what you meant (Prof. Ripley) but here is the output of Sys.g

Re: [R] Building package problem

2011-11-11 Thread Eduardo Mendes
Hello Many thanks for the replies. I am note sure whether you've got what you meant (Prof. Ripley) but here is the output of Sys.getlocale() > Sys.getlocale()[1] "LC_COLLATE=English_United > States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United > States.1252;LC_NUMERIC=C;L

Re: [R] Building package problem

2011-11-08 Thread Prof Brian Ripley
R CMD check is *not* 'building a package'. Nor is making a Windows binary package. 'Building a package' is creating a source tarball from a source directory. On Tue, 8 Nov 2011, Joshua Wiley wrote: Hi Ed, If the only error is in examples then this should work: R CMD check --no-examples fo

Re: [R] Building package problem

2011-11-08 Thread Uwe Ligges
On 08.11.2011 13:50, Joshua Wiley wrote: Hi Ed, If the only error is in examples then this should work: R CMD check --no-examples foopkg Disabling the example checks is not the solution - well, it is the one to hide the errors, of course. should not have anything to do with vignettes

Re: [R] Building package problem

2011-11-08 Thread Joshua Wiley
Hi Ed, If the only error is in examples then this should work: R CMD check --no-examples foopkg should not have anything to do with vignettes (although those may also not run, who knows). As far as building a binary, look at: R CMD INSTALL --help which leads you to R CMD INSTALL --build foop

[R] Building package problem

2011-11-08 Thread Eduardo M. A. M. Mendes
Dear R-users I am trying to recompile a CRAN package on Windows 32. Rtools for 2.14 (that is the version I am running) and miktex were sucessfully installed on my machine. Problems: a) hydroGOF is a CRAN package, but R CMD check does not work on it. C:\Users\eduardo\Documents\R_tests2>R CMD

Re: [R] Building package/DESCRIPTION file not existing?

2011-10-26 Thread Francois Rousseu
11 10:37:30 +0200 > To: francoisrous...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] Building package/DESCRIPTION file not existing? > > >>>>> Francois Rousseu > >>>>> on Mon, 24 Oct 2011 20:10:27 -0400 writes: > > > Hello useRs

Re: [R] Building package/DESCRIPTION file not existing?

2011-10-26 Thread Martin Maechler
> Francois Rousseu > on Mon, 24 Oct 2011 20:10:27 -0400 writes: > Hello useRs > I am trying to build a package for personal use and for > making easier working with other people but I keep getting > the same error message about the DESCRIPTION file not > existing

Re: [R] Building package/DESCRIPTION file not existing?

2011-10-26 Thread Uwe Ligges
As a first step try to get rid of the warning by doing what it says: "CYGWIN environment variable option "nodosfilewarning" turns off this warning." So set (at least): CYGWIN=nodosfilewarnings and go ahead. Uwe Ligges On 25.10.2011 02:10, Francois Rousseu wrote: Hello useRs I am tryi

[R] Building package/DESCRIPTION file not existing?

2011-10-24 Thread Francois Rousseu
Hello useRs I am trying to build a package for personal use and for making easier working with other people but I keep getting the same error message about the DESCRIPTION file not existing. when trying to install from a source tar.gz file: Error in .read_description(dfile) : file 'C:

Re: [R] Building package with vignette

2011-06-01 Thread Richard Davis
Hi Richard, I am having the same error you encountered as described in: https://stat.ethz.ch/pipermail/r-help/2009-August/207010.html Do you happen to know the solution to this problem? I'm stuck on the same issue. Thanks, Richard Davis Analyst | Taylor Fry Consulting Actuaries

Re: [R] building package

2011-01-21 Thread Duncan Murdoch
On 11-01-21 3:33 PM, la...@buffalo.edu wrote: I have built a package that I would like to submit to the CRAN. When I perform a R CMD check I get the following warning: * checking Rd cross-references ... WARNING Error in .find.package(package, lib.loc) : there is no package called 'foreign' Ca

[R] building package

2011-01-21 Thread las65
I have built a package that I would like to submit to the CRAN. When I perform a R CMD check I get the following warning: * checking Rd cross-references ... WARNING Error in .find.package(package, lib.loc) : there is no package called 'foreign' Calls: -> lapply -> FUN -> .find.package Execut

[R] Building package with vignette

2009-08-04 Thread Richard Chandler
Hello, I have a package that builds fine using R CMD build pkg --no-vignette, but I get the following error when running R CMD build pkg: ** building package indices ... Error in setwd(OutVignetteDir) : cannot change working directory ERROR: installing package indices failed I don't know why it

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread David Winsemius
Peter Dalgaard <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > The passage you cite from the manual could do with a > rephrasing, although it probably isn't technically incorrect. As it > stands, it reminds me a bit of the old Monty Python sketch: > > "Our *three* weapons are fear, surpris

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Johannes Graumann
Peter Dalgaard wrote: >> Answering to myself and staying with the same example: >> system.file("data/stroke.csv",package="ISwR") >> allows direct access to the example file (name). >> >> > Yes, but... > > This works right until you turn on LazyData for your package, then you > end up w

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Peter Dalgaard
Johannes Graumann wrote: > Johannes Graumann wrote: > > >> On Thursday 06 December 2007 11:52:46 Peter Dalgaard wrote: >> >>> Johannes Graumann wrote: >>> Hello, I'm trying to integrate example data in the shape of a tab delimited ASCII file into my package and th

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Johannes Graumann
Johannes Graumann wrote: > On Thursday 06 December 2007 11:52:46 Peter Dalgaard wrote: >> Johannes Graumann wrote: >> > Hello, >> > >> > I'm trying to integrate example data in the shape of a tab delimited >> > ASCII file into my package and therefore dropped it into the data >> > subdirectory. Th

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Peter Dalgaard
Berwin A Turlach wrote: > G'day Peter, > > On Thu, 06 Dec 2007 11:52:46 +0100 > Peter Dalgaard <[EMAIL PROTECTED]> wrote: > > >> If you had looked at help(data), you would have found a list of which >> file formats it supports and how they are read. Hint: TAB-delimited >> files are not among

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Johannes Graumann
On Thursday 06 December 2007 11:52:46 Peter Dalgaard wrote: > Johannes Graumann wrote: > > Hello, > > > > I'm trying to integrate example data in the shape of a tab delimited > > ASCII file into my package and therefore dropped it into the data > > subdirectory. The build works out just fine, but w

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Berwin A Turlach
G'day Peter, On Thu, 06 Dec 2007 11:52:46 +0100 Peter Dalgaard <[EMAIL PROTECTED]> wrote: > If you had looked at help(data), you would have found a list of which > file formats it supports and how they are read. Hint: TAB-delimited > files are not among them. [...] On the other hand, "Writing

Re: [R] Building package - tab delimited example data issue

2007-12-06 Thread Peter Dalgaard
Johannes Graumann wrote: > Hello, > > I'm trying to integrate example data in the shape of a tab delimited ASCII > file into my package and therefore dropped it into the data subdirectory. > The build works out just fine, but when I attempt to install I get: > > ** building package indices ... > Er

[R] Building package - tab delimited example data issue

2007-12-06 Thread Johannes Graumann
Hello, I'm trying to integrate example data in the shape of a tab delimited ASCII file into my package and therefore dropped it into the data subdirectory. The build works out just fine, but when I attempt to install I get: ** building package indices ... Error in scan(file, what, nmax, sep, dec,