Skip to content

Commit da7fdf2

Browse files
manual \description too
1 parent a72708b commit da7fdf2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

R/expect-shape.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#' Does code return an object with the specified shape?
22
#'
3+
#' This is a generalization of [expect_length()] to test the "shape" of
4+
#' more general objects like data.frames, matrices, and arrays.
5+
#'
36
#' @seealso [expect_length()] to specifically make assertions about the
47
#' [length()] of a vector.
58
#' @inheritParams expect_that

man/expect_shape.Rd

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)