It seems one of the primary reasons to use the S4 system is *to be strict
about types.*
IMO the documentation is quite clear on this point, if NULL is not a
subclass of character, which it isn't because inherits(NULL, "character")
is FALSE then everything is behaving exactly as expected and docume
Hi,
In WRE section 1.3, there is a note that says "R CMD check and R CMD build
run R processes with --vanilla in which none of the user’s startup files
are read." While this is true, is it somewhat confusing? When reading
quickly, it is possible to read that statement as "running R CMD check is
t
a"))
> > > should return "hi!". I'll add that this DOES work properly in 3.6.1
> > > which leads me to suspect this could be due to the subtle change in the
> > > way method dispatch was performed to fix a different bug, in 3.6.2. Can
> > >
I am trying to create a class union of class unions to facilitate method
dispatch. When I execute code in the global environment, everything acts as
expected, however when I put the same code in the context of a package,
selectMethod can no longer find the correct method. This first block below
put