tests/testthat/_snaps/str.md

str formats authors properly

Code
  cat(cli::ansi_strip(desc$str(by_field = TRUE)[["Authors@R"]]))
Output
  Authors@R:c(
      person("Hadley", "Wickham", , "h.wickham@gmail.com", role = c("aut", "cre", "cph")),
      person("Peter", "Danenberg", , "pcd@roxygen.org", role = c("aut", "cph")),
      person("Manuel", "Eugster", role = c("aut", "cph")),
      person("RStudio", role = "cph")
    )


Try the desc package in your browser

Any scripts or data that you put into this service are public.

desc documentation built on Sept. 8, 2022, 5:06 p.m.