Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Rlabkey/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Description: The 'LabKey' client library for R makes it easy for R users to
License: Apache License 2.0
Copyright: Copyright (c) 2010-2018 LabKey Corporation
LazyLoad: true
Depends: httr, jsonlite
Depends: httr, jsonlite, bit64
LinkingTo: Rcpp
Imports: Rcpp (>= 0.11.0)
4 changes: 2 additions & 2 deletions Rlabkey/R/makeDF.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ makeDF <- function(rawdata, colSelect=NULL, showHidden, colNameOpt)
try(
if(mod=="date") { newdat[,j] <- .parseDate(newdat[,j])} else
if(mod=="string"){ suppressWarnings(mode(newdat[,j]) <- "character")} else
if(mod=="int"){ suppressWarnings(mode(newdat[,j]) <- "integer")} else
if(mod=="int"){ suppressWarnings(newdat[,j] <- bit64::as.integer64(newdat[,j]))} else
if(mod=="boolean"){suppressWarnings(mode(newdat[,j]) <- "logical")} else
if(mod=="float"){suppressWarnings(mode(newdat[,j]) <- "numeric")} else
{print("MetaData field type not recognized.")}
Expand All @@ -163,7 +163,7 @@ makeDF <- function(rawdata, colSelect=NULL, showHidden, colNameOpt)
try(
if(mod=="date"){ newdat <- .parseDate(newdat)}else
if(mod=="string"){suppressWarnings(mode(newdat) <- "character")} else
if(mod=="int"){ suppressWarnings(mode(newdat) <- "integer")} else
if(mod=="int"){ suppressWarnings(newdat[,j] <- bit64::as.integer64(newdat[,j]))} else
if(mod=="boolean"){suppressWarnings(mode(newdat) <- "logical")} else
if(mod=="float"){suppressWarnings(mode(newdat) <- "numeric")} else
{print("MetaData field type not recognized.")}
Expand Down