Skip to content

Commit 1ec55a2

Browse files
authored
document that rcrds require a format method
1 parent 8d98911 commit 1ec55a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/type-rcrd.R

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
#' (same sizes), and contain uniquely named vectors (at least
1313
#' one). `fields` is validated with [df_list()] to ensure uniquely
1414
#' 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.
1518
#' @param ... Additional attributes
1619
#' @param class Name of subclass.
1720
#' @export

0 commit comments

Comments
 (0)