You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/type-rcrd.R
+6-3
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,17 @@
7
7
#' classes that can naturally be decomposed into multiple vectors of the same
8
8
#' length, like [POSIXlt], but where the organisation should be considered
9
9
#' an implementation detail invisible to the user (unlike a [data.frame]).
10
+
#'
11
+
#' @details
12
+
#' Record-style objects created with [new_rcrd()] do not have a default
13
+
#' [format()] method. See [Record-style objects](https://vctrs.r-lib.org/articles/s3-vector.html?q=record#record-style-objects
14
+
#' for more details on implementing other methods.
10
15
#'
11
16
#' @param fields A list or a data frame. Lists must be rectangular
12
17
#' (same sizes), and contain uniquely named vectors (at least
13
18
#' one). `fields` is validated with [df_list()] to ensure uniquely
14
19
#' named vectors.
15
-
#' @details
16
-
#' A new rcrd class created with [new_rcrd()] will not have a [format()] method.
17
-
#' New classes must implement their own [format()] method. See [Record-style objects](https://vctrs.r-lib.org/articles/s3-vector.html?q=record#record-style-objects) for more.
0 commit comments