CRAN Package Check Results for Package mockthat

Last updated on 2022-10-18 10:50:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.6 2.10 28.34 30.44 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.6 1.62 21.68 23.30 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.6 47.27 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.6 46.32 ERROR
r-devel-windows-x86_64 0.2.6 16.00 60.00 76.00 ERROR
r-patched-linux-x86_64 0.2.6 ERROR
r-release-linux-x86_64 0.2.6 1.98 26.59 28.57 ERROR
r-release-macos-arm64 0.2.6 15.00 OK
r-release-macos-x86_64 0.2.6 22.00 OK
r-release-windows-x86_64 0.2.6 19.00 57.00 76.00 ERROR
r-oldrel-macos-arm64 0.2.6 18.00 OK
r-oldrel-macos-x86_64 0.2.6 27.00 OK
r-oldrel-windows-ix86+x86_64 0.2.6 5.00 51.00 56.00 ERROR

Check Details

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavor: r-devel-windows-x86_64

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavor: r-release-windows-x86_64

Version: 0.2.6
Check: tests
Result: ERROR
     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
Flavor: r-oldrel-windows-ix86+x86_64