From 22ac3594407ba43b113a8dd1518fa46d18cae5f6 Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 25 Feb 2025 18:40:38 +0100 Subject: [PATCH] Fix usethis option example for .Rprofile. (#1095) --- setup.Rmd | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/setup.Rmd b/setup.Rmd index 5e70f62ce..480673be9 100644 --- a/setup.Rmd +++ b/setup.Rmd @@ -79,13 +79,15 @@ Here's an example of a code snippet that could go in `.Rprofile`: ```{r, eval = FALSE} options( - "Authors@R" = utils::person( - "Jane", "Doe", - email = "jane@example.com", - role = c("aut", "cre"), - comment = c(ORCID = "0000-1111-2222-3333") - ), - License = "MIT + file LICENSE" + usethis.description = list( + "Authors@R" = utils::person( + "Jane", "Doe", + email = "jane@example.com", + role = c("aut", "cre"), + comment = c(ORCID = "0000-1111-2222-3333") + ), + License = "MIT + file LICENSE" + ) ) ```