File: duplicated.R

package info (click to toggle)
r-bioc-biocgenerics 0.52.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 772 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
### =========================================================================
### The duplicated() and anyDuplicated() generics
### -------------------------------------------------------------------------
###
### Note that base::duplicated and base::anyDuplicated are S3 generics.
###
### Need to explicitly define those generics otherwise the implicit generics
### in package "base" would dispatch on ('x', 'incomparables'). Here we set
### dispatch on the 1st arg (the 'x' arg) only!

setGeneric("duplicated", signature="x")

setGeneric("anyDuplicated", signature="x")