tests/testthat/_snaps/archives.md

pkg_has_src on non-package files

Code
  pkg_has_src(file.path("fixtures", "xxx.zip"))
Condition
  Error in `doTryCatch()`:
  ! fixtures/xxx.zip is not a valid package archive file, no DESCRIPTION file
Code
  pkg_has_src(file.path("fixtures", "xxx.tar.gz"))
Condition
  Error in `doTryCatch()`:
  ! fixtures/xxx.tar.gz is not a valid package archive file, no DESCRIPTION file


Try the pkgbuild package in your browser

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

pkgbuild documentation built on June 8, 2025, 11:38 a.m.