tests/testthat/_snaps/cff_modify.md

Errors and messages

Code
  cff_modify(a_list, abstract = "An abstract")
Condition
  Error in `cff_modify()`:
  ! `x` should be a <cff> object, not <list>.
Code
  xend <- cff_modify(a_cff)
Message
  i Args `...` empty. Returning `x`.
Code
  dup <- cff_modify(a_cff, abstract = "a", abstract = "b")
Message
  ! Removing duplicated keys.
Code
  cff_modify(a_cff, "a", "b")
Condition
  Error in `validate_extra_keys()`:
  ! Elements in `...` should be named.
Code
  mod <- cff_modify(a_cff, "a", abstract = "b")
Message
  ! Found 1 not-named argument in position 1.
  i Removing unnamed arguments


dieghernan/cffR documentation built on April 17, 2025, 4:33 a.m.