Running 'test-all.R' [65s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > library(GetoptLong)
  > 
  > is.solaris = function()
  + 	grepl('SunOS',Sys.info()['sysname'])
  > 
  > 
  > if(!is.solaris()) {
  + 	if(Sys.which("perl") != "") {
  + 		test_check("GetoptLong", filter = "qq|GetoptLong")
  + 	} else {
  + 		test_check("GetoptLong", filter = "qq")
  + 	}
  + }
  Error: Cannot find Getopt::Long module in your Perl library.
  Error: Cannot find Getopt::Long module in your Perl library.
  Error: Cannot find Getopt::Long module in your Perl library.
  Error: Option v is ambiguous (verbose, version)
  Usage: Rscript foo.R [options]
  
  Options:
    --verbose, -no-verbose
      print messages
      [default: on]
   
    --help, -h
      Print help message and exit.
   
    --version
      Print version information and exit.
   
  Error: `tag` is mandatory
  Usage: Rscript foo.R [options]
  
  Options:
    --tag, -t integer
      tag
   
    --help, -h
      Print help message and exit.
   
    --version, -v
      Print version information and exit.
   
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 145 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_GetoptLong.R:6:60'): test simple ───────────────────────────────
  Error in `eval(code, test_env)`: object 'tag' not found
  Backtrace:
      ▆
   1. └─testthat::expect_that(tag, equals(1)) at test_GetoptLong.R:6:66
   2.   └─testthat (local) condition(object)
   3.     └─testthat::expect_equal(x, expected, ..., expected.label = label)
   4.       └─testthat::quasi_label(enquo(object), label, arg = "object")
   5.         └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('test_GetoptLong.R:80:45'): test `tag=o` ─────────────────────────────
  Error in `eval(code, test_env)`: object 'tag' not found
  Backtrace:
      ▆
   1. └─testthat::expect_that(tag, equals(1)) at test_GetoptLong.R:80:51
   2.   └─testthat (local) condition(object)
   3.     └─testthat::expect_equal(x, expected, ..., expected.label = label)
   4.       └─testthat::quasi_label(enquo(object), label, arg = "object")
   5.         └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Error ('test_GetoptLong.R:93:44'): test `tag` ───────────────────────────────
  Error in `eval(code, test_env)`: object 'tag' not found
  Backtrace:
      ▆
   1. └─testthat::expect_that(tag, is_identical_to(TRUE)) at test_GetoptLong.R:93:50
   2.   └─testthat (local) condition(object)
   3.     └─testthat::expect_identical(x, expected, expected.label = label)
   4.       └─testthat::quasi_label(enquo(object), label, arg = "object")
   5.         └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 145 ]
  Error: Test failures
  Execution halted