Skip to content

Commit

Permalink
attempt fix for r cmd check in debian
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Dec 17, 2018
1 parent b4d6373 commit e3182b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/ISOAbstractObject.R
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ ISOAbstractObject <- R6Class("ISOAbstractObject",

#fields
fields <- fields[!sapply(fields, function(x){
(class(self[[x]]) %in% c("environment", "function")) ||
(class(self[[x]])[1] %in% c("environment", "function")) ||
(x %in% private$system_fields)
})]

Expand Down Expand Up @@ -521,7 +521,7 @@ ISOAbstractObject <- R6Class("ISOAbstractObject",

#fields
fields <- fields[!sapply(fields, function(x){
(class(self[[x]]) %in% c("environment", "function")) ||
(class(self[[x]])[1] %in% c("environment", "function")) ||
(x %in% private$system_fields)
})]

Expand Down Expand Up @@ -844,7 +844,7 @@ ISOAbstractObject <- R6Class("ISOAbstractObject",
#list of fields
fields <- rev(names(self))
fields <- fields[!sapply(fields, function(x){
(class(self[[x]]) %in% c("environment", "function")) ||
(class(self[[x]])[1] %in% c("environment", "function")) ||
(x %in% private$system_fields)
})]

Expand Down

0 comments on commit e3182b0

Please sign in to comment.