Debian Codegraph @

tests/testthat/_snaps/archives.md

raw
1 # pkg_has_src on non-package files
2
3 Code
4 pkg_has_src(file.path("fixtures", "xxx.zip"))
5 Condition
6 Error in `doTryCatch()`:
7 ! fixtures/xxx.zip is not a valid package archive file, no DESCRIPTION file
8 Code
9 pkg_has_src(file.path("fixtures", "xxx.tar.gz"))
10 Condition
11 Error in `doTryCatch()`:
12 ! fixtures/xxx.tar.gz is not a valid package archive file, no DESCRIPTION file
13