CRAN Package Check Results for Maintainer ‘Alan Dipert <alan at rstudio.com>’

Last updated on 2019-09-15 15:47:45 CEST.

Package ERROR NOTE
websocket 1 11

Package websocket

Current CRAN status: ERROR: 1, NOTE: 11

Version: 1.1.0
Check: for GNU extensions in Makefiles
Result: NOTE
    GNU make is a SystemRequirements.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.1.0
Check: installed package size
Result: NOTE
     installed size is 17.1Mb
     sub-directories of 1Mb or more:
     libs 16.8Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.1.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘R6’ ‘later’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/29s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(websocket)
     >
     > test_check("websocket")
     [2019-08-28 21:02:47] [info] Error getting remote endpoint: asio.system:9 (Bad file number)
     [2019-08-28 21:02:47] [info] asio async_shutdown error: asio.system:9 (Bad file number)
     [2019-08-28 21:02:47] [error] handle_connect error: Timer Expired
     ── 1. Failure: small maxMessageSizes break simple connections (@test-client.R#68
     ws$readyState() not equivalent to 1.
     1/1 mismatches
     [1] 3 - 1 == 2
    
     ── 2. Failure: small maxMessageSizes break simple connections (@test-client.R#69
     `state` not identical to "open".
     1/1 mismatches
     x[1]: "failed"
     y[1]: "open"
    
     ── 3. Error: small maxMessageSizes break simple connections (@test-client.R#71)
     invalid state
     1: ws$send("hello") at testthat/test-client.R:71
     2: wsSend(private$wsObj, msg)
    
     [2019-08-28 21:02:58] [info] Error getting remote endpoint: asio.system:9 (Bad file number)
     [2019-08-28 21:02:58] [info] asio async_shutdown error: asio.system:9 (Bad file number)
     [2019-08-28 21:02:58] [error] handle_connect error: Timer Expired
     ── 4. Failure: Basic websocket communication (@test-client.R#146) ─────────────
     ws$readyState() not equivalent to 1.
     1/1 mismatches
     [1] 3 - 1 == 2
    
     ── 5. Failure: Basic websocket communication (@test-client.R#146) ─────────────
     `state` not identical to "open".
     1/1 mismatches
     x[1]: "failed"
     y[1]: "open"
    
     ── 6. Error: Basic websocket communication (@test-client.R#146) ───────────────
     invalid state
     1: check_ws("ws://echo.websocket.org/") at testthat/test-client.R:146
     2: ws$send("hello") at testthat/test-client.R:116
     3: wsSend(private$wsObj, msg)
    
     [2019-08-28 21:03:04] [info] Error getting remote endpoint: asio.system:9 (Bad file number)
     [2019-08-28 21:03:04] [info] asio async_shutdown error: asio.system:9 (Bad file number)
     [2019-08-28 21:03:04] [error] handle_connect error: Timer Expired
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 33 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: small maxMessageSizes break simple connections (@test-client.R#68)
     2. Failure: small maxMessageSizes break simple connections (@test-client.R#69)
     3. Error: small maxMessageSizes break simple connections (@test-client.R#71)
     4. Failure: Basic websocket communication (@test-client.R#146)
     5. Failure: Basic websocket communication (@test-client.R#146)
     6. Error: Basic websocket communication (@test-client.R#146)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86