Skip to content

Commit f9875ab

Browse files
committed
fix attempt 2
1 parent 4e51ae5 commit f9875ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/internal.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ isNonnegativeInteger <- function(n) {
9898
#' @importFrom gmp is.bigq
9999
#' @noRd
100100
isFraction <- function(x) {
101-
if(!is.vector(x) || length(x) != 1L || is.na(x)) {
101+
if((!is.vector(x) && !is.bigq(x)) || length(x) != 1L || is.na(x)) {
102102
return(FALSE)
103103
}
104104
if(is.integer(x)) {

0 commit comments

Comments
 (0)