From 116561ea8d2742de1a84da5ab838d21a78c78d2b Mon Sep 17 00:00:00 2001 From: Leonidas Zhak <70497898+LeonidasZhak@users.noreply.github.com> Date: Sun, 7 Jun 2026 03:26:49 +0800 Subject: [PATCH] docs: add describe() and it() to pkgdown reference index Fixes #2337 The functions describe() and it() are exported and have a help page (describe.Rd), but were not listed in the package reference index on the pkgdown site or in R help(package = 'testthat'). This adds them to the 'Basics' section of _pkgdown.yml alongside test_that(), as they are alternative BDD-style test-writing functions. --- _pkgdown.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_pkgdown.yml b/_pkgdown.yml index 820927e2b..7507b338c 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -21,6 +21,8 @@ reference: - title: Basics contents: - test_that + - describe + - it - expect_equal - expect_error - expect_true