On 29 November 2017 at 21:45, Hervé Pagès wrote:
> You're missing the point of my original post. Which is that
> there is a serious inconsistency between the unary and binary
> forms of is(). Maybe the binary form is right in case of
My understanding is that there is no
Hello,
Does anyone know of an example of a R package that contains Swift code
(https://swift.org), like many packages use C code?
Thanks
Guillaume
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
Yes, data.frame is not an S4 class but is(data.frame())
finds its super-classes anyway and without the need to wrap
it in asS4(). And "list' is one of the super-classes. Then
is(data.frame(), "list") contradicts this.
I'm not asking for a workaround. I already have one with
'class2 %in%
Hi Herve,
Interesting observation with `setClass` but it is for S4. It looks
like `data.frame()` is not an S4 class.
> isS4(data.frame())
[1] FALSE
And in your case this might help:
> is(asS4(data.frame()), "list")
[1] TRUE
Looks like `is` is designed for S4 classes, I am not entirely sure.
Hi Mehmet,
On 11/29/2017 11:22 AM, Suzen, Mehmet wrote:
Hi Herve,
I think you are confusing subclasses and classes. There is no
contradiction. `is` documentation
is very clear:
`With one argument, returns all the super-classes of this object's class.`
Yes that's indeed very clear. So if
Hi Herve,
I think you are confusing subclasses and classes. There is no
contradiction. `is` documentation
is very clear:
`With one argument, returns all the super-classes of this object's class.`
Note that object class is always `data.frame` here, check:
> class(data.frame())
[1] "data.frame"
Hi,
The unary forms of is() and extends() report that data.frame
extends list, oldClass, and vector:
> is(data.frame())
[1] "data.frame" "list" "oldClass" "vector"
> extends("data.frame")
[1] "data.frame" "list" "oldClass" "vector"
However, the binary form of is()
Rampal,
One additional thought here.
Since you reference RTools in your initial post, I presume that this is
occurring on Windows, though not sure which version.
Have you tried to build the package using the WinBuilder site provided by Uwe?
If not, go here:
You wrote
Exited with status -1073741819.
The low byte of that status code is 5, which I think means a segmentation
fault - reading
or writing an address that you do not have permission of use.
> as.hexmode(-1073741819)
[1] "c005"
If your code uses memory that it has not allocated it
> Rampal S Etienne
> on Wed, 29 Nov 2017 14:22:54 +0100 writes:
> Dear Marc, Martin, Dason,
> I agree that the status number is not very informative, but neither is:
> "Package does not build". The point is that I have no clue what is going
>
> On Nov 29, 2017, at 10:25 AM, Toby Hocking wrote:
>
> I am getting the following on CRAN windows and winbuilder
> https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/penaltyLearning-00check.html
>
> Apparently there is an error in re-building vignettes,
I am getting the following on CRAN windows and winbuilder
https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/penaltyLearning-00check.html
Apparently there is an error in re-building vignettes, but I do not have
any idea what it is, because all that is listed is three dots (...).
Dear Marc, Martin, Dason,
I agree that the status number is not very informative, but neither is:
"Package does not build". The point is that I have no clue what is going
on, and was just hoping that someone might have seen the exit status
number before.
I have done a clean install as suggested
> Rampal S Etienne
> on Wed, 29 Nov 2017 09:19:29 +0100 writes:
> Dear Dason,
> I don't get this error, but it crashes anyway.
and you don't show what "crashes" means here.
(and yes, Dason is right: The RStudio status number in the
'Subject' is not
Dear Dason,
I don't get this error, but it crashes anyway. I've that if I use the
stable version of R (3.4.2) I do NOT get the error anymore, so I assume
there is something wrong with the current R-devel.
Regards,
Rampal Etienne
On 29-11-2017 0:36, Dason Kurkiewicz wrote:
> Do you get the
15 matches
Mail list logo