Skip to content

Commit f738c2a

Browse files
just check is.character
1 parent 9e14d7d commit f738c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/vertical.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' @param x A character vector or an object of class "vertical".
66
#' @keywords internal
77
construct_vertical <- function(x) {
8-
stopifnot(is.character(x) || inherits(x, what = c("utf8", "vertical")))
8+
stopifnot(is.character(x))
99
structure(x, class = "vertical")
1010
}
1111

0 commit comments

Comments
 (0)