Hi,
Is there a better approach to adding new slots to an S4 class without
breaking code that accesses older objects of that class than the
Bioconductor reference in the thread below? Thanks.
Cheers,
Seb
On Mon, 29 Dec 2008 22:53:50 +,
Wolfgang Huber wrote:
> Dear Christian this post fro
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
im
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 b
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
ter
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:
Tab
On Wed, 21 Mar 2012 18:35:15 +,
Prof Brian Ripley 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
On Mon, 26 Mar 2012 16:44:58 +0100,
Prof Brian Ripley 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
>> name with suf
Hi,
I'm trying to use 'LazyData: yes' in a package. A vignette and the
Examples section of help pages contain this:
------
zz <- system.file(file.path("data", "fileA.csv"),
package="myPackage")
dfA <- read.csv
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:
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
l
On Tue, 2 Feb 2010 23:05:35 +0100,
Kurt Hornik 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 sho
Hi,
I'm getting a segmentation fault as follows:
------
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.trun
On Fri, 23 Apr 2010 07:46:10 -0400,
Duncan Murdoch 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 formatting
> bug, so t
On Fri, 23 Apr 2010 13:31:14 +0200,
Uwe Ligges 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
__
R-devel@r-project.org mailing list
https://st
On Fri, 23 Apr 2010 16:03:15 +0200,
peter dalgaard 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 i-th iterati
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 to
Hi,
I noticed that if a column is named "end" in a data frame (table.df
below), it leads to errors when trying to sqlSave()'it to a postgresql
connection:
---<---cut here---start-->---
con <- odbcConnect("PostgreSQL-DB", uid="user", pwd="password",
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
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
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
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
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'
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 line endings
> in the .Rbuildignore file -- I had originally created it on a Windows
> system, and em
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 wrongl
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:
\item{1s
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:
Here, is in a library specified in ~/.Renviron:
# local library
R_
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,
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
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
___
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)
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
vign
31 matches
Mail list logo