tests/testthat/_snaps/badge.md

use_lifecycle_badge() handles bad and good input

Code
  use_lifecycle_badge("eperimental")
Condition
  Error in `use_lifecycle_badge()`:
  ! `stage` must be one of "experimental", "stable", "superseded", or "deprecated", not "eperimental".
  i Did you mean "experimental"?

use_posit_cloud_badge() handles bad and good input

Code
  use_posit_cloud_badge()
Condition
  Error in `use_posit_cloud_badge()`:
  ! `url` must be a valid name, not absent.
Code
  use_posit_cloud_badge(123)
Condition
  Error in `use_posit_cloud_badge()`:
  ! `url` must be a valid name, not the number 123.
Code
  use_posit_cloud_badge("http://posit.cloud/123")
Condition
  Error in `use_posit_cloud_badge()`:
  x `usethis::use_posit_cloud_badge()` requires a link to an existing Posit Cloud project of the form "https://posit.cloud/content/<project-id>" or "https://posit.cloud/spaces/<space-id>/content/<project-id>".


Try the usethis package in your browser

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

usethis documentation built on Sept. 11, 2024, 5:29 p.m.