search for: corresopnd

Displaying 1 result from an estimated 1 matches for "corresopnd".

Did you mean: corespond
2023 May 02
1
is(x,"ANY") is FALSE
...A little more context on my use. I?m defining a slot for a reference class using a type union, setClass(?MongoDB?,c(?NULL?,?ANY?)) [I should be using setOldClass(?mongo?) here, but I was having trouble promoting the S3 ?mongo? class I was getting from the library.] Then when I try to set the corresopnding slot I?m getting an error, because ?mongo? is not of type MongoDB (even through that is a class union which contains ?ANY?). I can work around the problem by setting the slot to type ?ANY?, but then I loose the documentation that the intention is that it should a mongo database connection. D...