Skip to content

Commit 95db5ae

Browse files
committed
address PR requestions
1 parent 1ec55a2 commit 95db5ae

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

R/type-rcrd.R

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
#' classes that can naturally be decomposed into multiple vectors of the same
88
#' length, like [POSIXlt], but where the organisation should be considered
99
#' 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.
1015
#'
1116
#' @param fields A list or a data frame. Lists must be rectangular
1217
#' (same sizes), and contain uniquely named vectors (at least
1318
#' one). `fields` is validated with [df_list()] to ensure uniquely
1419
#' 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.
20+
#'
1821
#' @param ... Additional attributes
1922
#' @param class Name of subclass.
2023
#' @export

0 commit comments

Comments
 (0)