Re: [R-pkg-devel] S3 is.unsorted registration

2021-09-09 Thread Sokol Serguei
On 09/09/2021 18:23, Hugh Parsonage wrote: I would like to register an S3 method for `is.unsorted` for my package's class "factor256" but I'm having trouble honouring the `strictly` argument. I've defined is.unsorted.factor256 <- function(x, na.rm = FALSE, strictly = FALSE) { strictly } i.e

[R-pkg-devel] S3 is.unsorted registration

2021-09-09 Thread Hugh Parsonage
I would like to register an S3 method for `is.unsorted` for my package's class "factor256" but I'm having trouble honouring the `strictly` argument. I've defined is.unsorted.factor256 <- function(x, na.rm = FALSE, strictly = FALSE) { strictly } i.e. the class is sorted iff strictly = TRUE How