Hello when I use rstudio (1.1.383 I am stuck on this version) and roxygens 6.1.1 and I try to build my package making sure NAMEPACE is generated by roxygen the following function:
#' Are all elements ox x elements in y
#' @export
#' @examples
#' all.in(x=c(1, 2), y=c(1, 3, 2)) #TRUE
#' all.in(x=c(NA, NULL), y=c(NA, NULL, 0)) #TRUE
#' all.in(x=c('a','b'), c('a','ab')) #FALSE
all.in <- function(x, y){
return( all(x %in% y) )
}
is converted as the following in NAMESPACE
S3method(all,"in")
So it is fairly obvious that there is something going on with the all and in functions there but this is not what I want. Is there a way to tell roxygen2 to do the right thing ?