mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v0.9.0.9021) inheritance fix
This commit is contained in:
1 parent
c7a76ba713
commit
b4356a299c
19 files changed
+73
-89
No files matched your search
@@ -81,7 +81,7 @@ as.disk <- function(x, na.rm = FALSE) {
|
||||
#' @export
|
||||
#' @importFrom dplyr %>%
|
||||
is.disk <- function(x) {
|
||||
class(x) %>% identical(c("disk", "integer"))
|
||||
inherits(x, c("disk", "integer"))
|
||||
}
|
||||
|
||||
#' @exportMethod print.disk
|
||||
|
||||
@@ -130,7 +130,7 @@ as.mic <- function(x, na.rm = FALSE) {
|
||||
#' @export
|
||||
#' @importFrom dplyr %>%
|
||||
is.mic <- function(x) {
|
||||
class(x) %>% identical(c("mic", "ordered", "factor"))
|
||||
inherits(x, c("mic", "factor"))
|
||||
}
|
||||
|
||||
#' @exportMethod as.double.mic
|
||||
|
||||
Reference in new issue
Block a user