[Rd] segfault with format.POSIXct()

2010-04-22 Thread Sebastian P. Luque
Hi, I'm getting a segmentation fault as follows: ---cut here---start-- R begt - as.POSIXct(strptime(10/01/2009 06:00:00, format=%d/%m/%Y %H:%M:%S), +tz=GMT) R tser - seq(begt, by=5, length.out=91000) R tser.trunc -

Re: [Rd] segfault with format.POSIXct()

2010-04-23 Thread Sebastian P. Luque
On Fri, 23 Apr 2010 07:46:10 -0400, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 23/04/2010 7:31 AM, Uwe Ligges wrote: Works for me, both under Windows (32 and 64 bit) and Linux, although I have not package slmisc attached. I've just found that the bug 14267 is related to a POSIXlt

Re: [Rd] segfault with format.POSIXct()

2010-04-23 Thread Sebastian P. Luque
On Fri, 23 Apr 2010 13:31:14 +0200, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: Works for me, both under Windows (32 and 64 bit) and Linux, although I have not package slmisc attached. Is this with 2.11.0 ? Thanks. -- Seb __

Re: [Rd] segfault with format.POSIXct()

2010-04-23 Thread Sebastian P. Luque
On Fri, 23 Apr 2010 16:03:15 +0200, peter dalgaard pda...@gmail.com wrote: I'm getting a bit further with bug 14267: On OSX I am NOT seeing it with R-devel, although it is there with 2.11.0 Patched. Running with a non-optimized compile, I can get some more information It is happening on the

[Rd] cdplot() with 'POSIXct' x

2010-05-13 Thread Sebastian P. Luque
Hi, Given that cdplot() is used to produce the conditional density of a categorical y along a numerical x, it seems natural that it could be used with a date or time x (such as 'POSIXct'). Is this desirable? If so, I've created a patch that would allow this, by coercing the POSIXct x variable

Re: [Rd] Request: Suggestions for good teaching packages, esp. with C code

2011-02-15 Thread Sebastian P. Luque
Hi Paul, You might want to post this to the teaching list (R-sig-teaching). I'd look at packages written by old-timers and R Core. I've also found that most Bioconductor packages follow the guidelines you mention and many other excellent habits very well. I agree with you that these are very

[Rd] codoc mismatches warning

2010-02-02 Thread Sebastian P. Luque
Hi, Doing 'R CMD check diveMove' is now throwing this message: Data codoc mismatches from documentation object 'sealLocs': Variables in data frame 'sealLocs' Code: id.time.class.lon.lat Docs: class id lat lon time with: R sessionInfo() R version 2.10.1 (2009-12-14) x86_64-pc-linux-gnu

Re: [Rd] codoc mismatches warning

2010-02-02 Thread Sebastian P. Luque
On Tue, 2 Feb 2010 23:05:35 +0100, Kurt Hornik kurt.hor...@wu.ac.at wrote: Sebastian P Luque writes: Hi, Doing 'R CMD check diveMove' is now throwing this message: Which version of diveMove is this? It's a development version (0.9.7) at R-Forge. The one showing this warning hasn't been

[Rd] How to let 'R CMD check' see local libraries

2006-08-20 Thread Sebastian P. Luque
Dear List, Whenever a package requires another one that is available from a local library in my user home directory, 'R CMD check' fails here: * checking package dependencies ... ERROR Packages required but not available: some package Here, some package is in a library specified in

Re: [Rd] How to let 'R CMD check' see local libraries

2006-08-20 Thread Sebastian P. Luque
On Sun, 20 Aug 2006 13:31:41 -0700, Seth Falcon [EMAIL PROTECTED] wrote: [...] #!/bin/bash export R_LIBS=/Users/seth/RLIB-2.3 /Users/seth/proj/builds/R-2.3/bin/R $@ Thank you, good idea. I often forget to use all the shell facilities at hand when building/checking packages. Cheers, --

[Rd] standardization of slot access

2006-09-26 Thread Sebastian P. Luque
Hi, I'm usually confused about when to use 'slot' or '@'. I've frequently read that it's always preferable to use accessor functions, so I would think the '@' operator should be avoided. However, ?slot contains the following advise: Generally, the only reason to use the functional form rather

Re: [Rd] standardization of slot access

2006-09-26 Thread Sebastian P. Luque
Thank you all for your comments, which confirm the feeling I had that 'slot' is only needed in the rare occasions Roger mentioned. Although 'slot' is an accessor function, it seems it's not quite analogous to functions or methods for accessing components of objects. Cheers, -- Seb

[Rd] setIs() and setAs()

2006-11-17 Thread Sebastian P. Luque
Dear R-devel, If we have two classes that have the same representation but with slightly different constraints, say something like: setClass(foo, representation=c(a=numeric, b=data.frame)) setClass(bar, contains=foo, validity=function(object) if (length([EMAIL PROTECTED]) 2) {

[Rd] .Rbuildignore and vignettes

2006-12-24 Thread Sebastian P. Luque
Hi, Is there some way of controlling whether building of vignettes should use .Rbuildignore? I realized that some objects I had created in a file listed under .Rbuildignore were available while building the package. The package does build _without_ the files listed in .Rbuildignore, but the

[Rd] error message from lmer

2007-06-27 Thread Sebastian P. Luque
Hi, I've begun to use the lme4 package, rather than nlme, for more flexibility during modelling, and running the examples in lmer I receive this error message: --cut here---start- R (fm1 - lmer(Reaction ~ Days + (Days|Subject), sleepstudy)) Error in

Re: [Rd] error message from lmer

2007-06-28 Thread Sebastian P. Luque
On Thu, 28 Jun 2007 06:08:45 +0100 (BST), Prof Brian Ripley [EMAIL PROTECTED] wrote: See the thread starting https://stat.ethz.ch/pipermail/r-devel/2007-June/046157.html https://stat.ethz.ch/pipermail/r-devel/2007-June/046160.html Thank you, I think I've indeed encountered the same issue

[Rd] packages using UTF-8 encoding

2007-07-09 Thread Sebastian P. Luque
Hi, During a recent CRAN upload procedure, I was reminded of the following regarding R-devel: o R CMD check now warns on non-ASCII .Rd files without an \encoding field, rather than just on ones that are definitely not from an ISO-8859 encoding. This agrees with the

Re: [Rd] packages using UTF-8 encoding

2007-07-09 Thread Sebastian P. Luque
On Mon, 9 Jul 2007 14:23:17 +0100 (BST), Prof Brian Ripley [EMAIL PROTECTED] wrote: [...] \encoding(UTF-8}, yes. Oops, yes (shift key pressed longer than needed). However, I would be worried about anything which 'needs' UTF-8 encoding, since it is going to be far from portable. If all you

[Rd] bzip2'ed data under data/

2012-03-19 Thread Sebastian P. Luque
Hi, R CMD check PACKAGE_VERSION_tar.gz gives warning: Files not of a type allowed in a ‘data’ directory: ‘tser1.csv.bz2’ ‘tser2.csv.bz2’ Please use e.g. ‘inst/extdata’ for non-R data files which I didn't expect, based on section 1.1.5 (Data in packages) of the Writing R Extensions manual:

Re: [Rd] bzip2'ed data under data/

2012-03-26 Thread Sebastian P. Luque
On Wed, 21 Mar 2012 18:35:15 +, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On 19/03/2012 20:25, Sebastian P. Luque wrote: Hi, R CMD check PACKAGE_VERSION_tar.gz gives warning: Files not of a type allowed in a ‘data’ directory: ‘tser1.csv.bz2’ ‘tser2.csv.bz2’ Please use e.g. ‘inst

Re: [Rd] bzip2'ed data under data/

2012-03-26 Thread Sebastian P. Luque
On Mon, 26 Mar 2012 16:44:58 +0100, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: [...] Well, the extension is allowed 'optionally' to be .csv.bz2, but that does not make it good practice and I would suggest not using it. Does this mean we can still compress the files, but leave the file

[Rd] LazyData and CSV files in data/

2012-04-12 Thread Sebastian P. Luque
Hi, I'm trying to use 'LazyData: yes' in a package. A vignette and the Examples section of help pages contain this: ---cut here---start-- zz - system.file(file.path(data, fileA.csv), package=myPackage) dfA - read.csv(zz,

[Rd] fractional seconds in POSIXct

2012-05-30 Thread Sebastian P. Luque
Hi, Using the following simple character vector representing a time series with fractional seconds: datetime - c(20/09/2011 13:00:59.00, 20/09/2011 13:00:59.02, 20/09/2011 13:00:59.04) Conversion to POSIXct runs into problems; the second element is not interpreted correctly:

[Rd] method dispatch conflict?

2008-04-28 Thread Sebastian P. Luque
Hi, I vaguely recall this was discussed in the past, but I cannot remember the context. The code below shows the problem: --cut here---start- R library(stats4) R library(lme4) Loading required package: Matrix Attaching package: 'Matrix'

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-13 Thread Sebastian P. Luque
On Mon, 13 Oct 2008 23:10:41 -0600, Tony Plate [EMAIL PROTECTED] wrote: I was trying, on a Linux system, to get a .Rbuildignore file to work. After far too long, I found the problem was the CRNL line endings in the .Rbuildignore file -- I had originally created it on a Windows system, and

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Sebastian P. Luque
On Tue, 14 Oct 2008 08:46:36 -0400, Nathan Coulter [EMAIL PROTECTED] wrote: Prof Brian Ripley wrote: But to the point: how often do people get DOS-style files on a Unix-alike? You have to work pretty hard to do this, and there comes a point at which complicating R to workaround wrongly

[Rd] multiple item lists in value section of *.Rd

2008-11-13 Thread Sebastian P. Luque
Hi, If an *.Rd file documents more than one object, and each object returns several objects, which should ideally be described in an itemized list. When documenting single objects, I've been doing this using simple \item(s) inside the value section, like: \value{This function returns:

[Rd] R CMD build error during vignettes build

2017-02-21 Thread Sebastian P. Luque
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: ------ $ R CMD

[Rd] failing automatic incoming check

2020-09-08 Thread Sebastian P. Luque
Hello, I got a notification regarding a failure to pass incoming checks automatically after a CRAN submission. The details are given here: https://win-builder.r-project.org/incoming_pretest/diveMove_1.5.0_20200908_191325/ The only visible issue is a NOTE from the macosx build, with the very