Skip to content

Commit e8a7a95

Browse files
committed
address check warnings
1 parent cc29d38 commit e8a7a95

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ as.data.frame.s3_bucket <- function(x, row.names = NULL, optional = FALSE, ...)
135135

136136
flatten_list <- function(x) {
137137
if (is.list(x)) {
138-
if ((class(x) != "list") || (length(class(x)) > 1)) {
138+
if ((!inherits(x, "list")) || (length(class(x)) > 1)) {
139139
return(x)
140140
} else {
141141
if (length(x) == 1) {

inst/CITATION

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)