Skip to content

Commit f9174ae

Browse files
author
Lindsay Carr
committed
comment out deliberate class coercing to numeric in strip_pts
1 parent c1c5ea4 commit f9174ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/utils-list.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ remove_field <- function(list, param){
3030

3131
strip_pts <- function(list, param){
3232
out <- c()
33-
out.class <- 'numeric'
33+
# out.class <- 'numeric'
3434
for (v in param){
3535
if (v %in% names(list) && !inherits(list[[v]], c('function','formula'))) {
3636
v.vals <- list[[v]]
@@ -55,7 +55,7 @@ strip_pts <- function(list, param){
5555
}
5656

5757
}
58-
class(out) <- out.class
58+
# class(out) <- out.class
5959
return(out)
6060
}
6161

0 commit comments

Comments
 (0)