tests/testthat/_snaps/collate.md

update_collate() checks that directory exists

Code
  update_collate("doesn't-exist")
Condition
  Error in `update_collate()`:
  ! 'doesn't-exist' doesn't exist

DESCRIPTION file is re-written only if collate changes

Code
  update_collate(path)
Message
  Updating collate directive in '<path>/DESCRIPTION'
Code
  # Second run should be idempotent
  update_collate(path)

drops bad collect directives

Code
  update_collate(".")
Message
  x a.R: unknown path in `@include foo`.
  Updating collate directive in './DESCRIPTION'


Try the roxygen2 package in your browser

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

roxygen2 documentation built on June 28, 2024, 9:11 a.m.