Skip to content

Commit

Permalink
missing as.integer64.integer export, rd
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Oct 14, 2024
1 parent be9db78 commit 61bd236
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ S3method(as.integer64,bitstring)
S3method(as.integer64,character)
S3method(as.integer64,double)
S3method(as.integer64,factor)
S3method(as.integer64,integer)
S3method(as.integer64,integer64)
S3method(as.integer64,logical)
S3method(as.list,integer64)
Expand Down
6 changes: 5 additions & 1 deletion R/integer64.R
Original file line number Diff line number Diff line change
Expand Up @@ -843,12 +843,16 @@ as.integer64.double <- function(x, keep.names=FALSE, ...){

#' @rdname as.integer64.character
#' @export
as.integer64.logical <- as.integer64.integer <- function(x, ...){
as.integer64.integer <- function(x, ...){
ret <- .Call(C_as_integer64_integer, x, double(length(x)))
oldClass(ret) <- "integer64"
ret
}

#' @rdname as.integer64.character
#' @export
as.integer64.logical <- as.integer64.integer

#' @rdname as.integer64.character
#' @export
as.integer64.character <- function(x, ...){
Expand Down
3 changes: 3 additions & 0 deletions man/as.integer64.character.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61bd236

Please sign in to comment.