Skip to content

Commit 7f7dafc

Browse files
committed
update description of coerce
1 parent f010022 commit 7f7dafc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

R/utils.R

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ has_star <- function(x) {
4545
}
4646

4747

48-
#' Coerce based on atomicclass
49-
#' @param x A vector
48+
#' Coerce a character vector based on atomicclass
49+
#' @param x A character vector
5050
#' @param atomicclass A character string indicating the atomic class
51+
#' @description
52+
#' We assume that the date is stored as a signed integer in excel, being the
53+
#' number of days passed since January 1 1970.
54+
# TODO: check the previous statement
5155
#' @return A vector of the specified atomic class
5256
#' @noRd
5357
coerce <- function(x, atomicclass) {

0 commit comments

Comments
 (0)