Running 'testthat.R' [4s/8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  == Failed tests ================================================================
  -- Failure ('test-with-mock.R:51'): can mock in package ------------------------
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  -- Failure ('test-with-mock.R:60'): can mock in package ------------------------
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  -- Failure ('test-with-mock.R:70'): can create mock from return value ----------
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  -- Failure ('test-with-mock.R:80'): can create mock from return value ----------
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [3s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-with-mock.R:51'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:60'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure ('test-with-mock.R:70'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:80'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-with-mock.R:51'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:60'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure ('test-with-mock.R:70'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:80'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-with-mock.R:51'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:60'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure ('test-with-mock.R:70'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:80'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-with-mock.R:51:3): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure (test-with-mock.R:60:3): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure (test-with-mock.R:70:3): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure (test-with-mock.R:80:3): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [4s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-with-mock.R:51'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:60'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure ('test-with-mock.R:70'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:80'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  In addition: Warning message:
  In for (i in seq_along(specs)) { :
    closing unused connection 4 (https://eu.httpbin.org/get?foo=123)
  Execution halted
Running ‘testthat.R’ [4s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-with-mock.R:51'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:60'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure ('test-with-mock.R:70'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:80'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  In addition: Warning message:
  In for (i in seq_along(specs)) { :
    closing unused connection 4 (https://eu.httpbin.org/get?foo=123)
  Execution halted
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-with-mock.R:51'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:60'): can mock in package ────────────────────────
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  ── Failure ('test-with-mock.R:70'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  ── Failure ('test-with-mock.R:80'): can create mock from return value ──────────
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  In addition: Warning message:
  In .size : closing unused connection 4 (https://eu.httpbin.org/get?foo=123)
  Execution halted
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library(testthat)
  > library(mockthat)
  
  Attaching package: 'mockthat'
  
  The following objects are masked from 'package:testthat':
  
      local_mock, with_mock
  
  > 
  > test_check("mockthat")
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  
  == Failed tests ================================================================
  -- Failure (test-with-mock.R:51:3): can mock in package ------------------------
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  -- Failure (test-with-mock.R:60:3): can mock in package ------------------------
  `res` not identical to "mocked request".
  1/1 mismatches
  x[1]: "4"
  y[1]: "mocked request"
  -- Failure (test-with-mock.R:70:3): can create mock from return value ----------
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  -- Failure (test-with-mock.R:80:3): can create mock from return value ----------
  `res` not identical to "mocked request".
  Modes: list, character
  names for target but not for current
  Length mismatch: comparison on first 1 components
  Component 1: Modes: list, character
  Component 1: names for target but not for current
  Component 1: Component 1: 1 string mismatch
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted