tests/testthat/_snaps/rcmdcheck.md

background gives same results

Code
  bad1$read_error()
Condition
  Error:
  ! stderr is not a pipe.
Code
  bad1$read_all_error_lines()
Condition
  Error:
  ! stderr is not a pipe.

build arguments

Code
  rcmdcheck(test_path("bad1"), build_args = "-v")
Output
  -- R CMD build -----------------------------------------------------------------
  R add-on package builder: <rvesion> (r<commit>)
  Copyright (C) 1997-<year> The R Core Team.
  This is free software; see the GNU General Public License version 2
  or later for copying conditions.  There is NO warranty.
Condition
  Error in `if (!is.null(cmd) && substring(cmd, 1, 1) != "!") ...`:
  ! missing value where TRUE/FALSE needed

check_dir argument

Code
  rcmdcheck(test_path("fixtures/badpackage_1.0.0.tar.gz"), check_dir = tmp)
Condition
  Error in `do_check()`:
  ! enough


r-lib/rcmdcheck documentation built on June 10, 2025, 12:02 a.m.