CRAN Package Check Results for Package DominoDataCapture

Last updated on 2022-09-11 12:56:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 2.49 28.47 30.96 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.1 2.01 22.19 24.20 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.1 48.38 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 49.18 NOTE
r-devel-windows-x86_64 0.1.1 44.00 59.00 103.00 ERROR
r-patched-linux-x86_64 0.1.1 2.36 27.22 29.58 OK
r-release-linux-x86_64 0.1.1 2.25 27.31 29.56 OK
r-release-macos-arm64 0.1.1 18.00 NOTE
r-release-macos-x86_64 0.1.1 24.00 NOTE
r-release-windows-x86_64 0.1.1 69.00 59.00 128.00 ERROR
r-oldrel-macos-arm64 0.1.1 19.00 NOTE
r-oldrel-macos-x86_64 0.1.1 25.00 NOTE
r-oldrel-windows-ix86+x86_64 0.1.1 8.00 52.00 60.00 OK

Check Details

Version: 0.1.1
Check: package subdirectories
Result: NOTE
    Problems with news in 'NEWS.md':
    No news entries found.
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-x86_64

Version: 0.1.1
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘rjson’ ‘uuid’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.1.1
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > test_check("DominoDataCapture")
     Loading required package: DominoDataCapture
     The information shown below represents the structure and format of the prediction data recorded by Domino when this model is deployed as a Domino Model API {"features":{"min":1,"max":100},"predictions":{"prediction":20},"metadata":{"meta1":"metadata_value1"},"timestamp":"adfasdfasd","__domino_timestamp":"2022-09-10T06:49:11+0000 UTC","event_id":"test_event_id","instance_id":"test_instance_id","prediction_probability":[0.1,0.9],"sample_weight":0.3}
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/random_folder' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction feature_names and feature_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction feature_names and feature_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction predict_names and predict_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction predict_names and predict_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction metadata_names and metadata_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction predict_names and predict_values should be of same length"
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 34 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_data_capture_client.R:66:3): check whether the data is written to the file ──
     Error in `file(con, "r")`: cannot open the connection
     Backtrace:
     ▆
     1. └─rjson::fromJSON(file = tmp_file) at test_data_capture_client.R:66:2
     2. ├─base::paste(readLines(file, warn = FALSE), collapse = "")
     3. └─base::readLines(file, warn = FALSE)
     4. └─base::file(con, "r")
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 34 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.1.1
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     >
     > test_check("DominoDataCapture")
     Loading required package: DominoDataCapture
     The information shown below represents the structure and format of the prediction data recorded by Domino when this model is deployed as a Domino Model API {"features":{"min":1,"max":100},"predictions":{"prediction":20},"metadata":{"meta1":"metadata_value1"},"timestamp":"adfasdfasd","__domino_timestamp":"2022-09-08T06:16:28+0000 UTC","event_id":"test_event_id","instance_id":"test_instance_id","prediction_probability":[0.1,0.9],"sample_weight":0.3}
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/random_folder' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction Error: Cannot create file: directory '/tmp' does not exist.\n"
     [1] "ERROR DominoDataCapture::capturePrediction feature_names and feature_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction feature_names and feature_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction predict_names and predict_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction predict_names and predict_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction metadata_names and metadata_values should be of same length"
     [1] "ERROR DominoDataCapture::capturePrediction predict_names and predict_values should be of same length"
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 34 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_data_capture_client.R:66:3): check whether the data is written to the file ──
     Error in `file(con, "r")`: cannot open the connection
     Backtrace:
     ▆
     1. └─rjson::fromJSON(file = tmp_file) at test_data_capture_client.R:66:2
     2. ├─base::paste(readLines(file, warn = FALSE), collapse = "")
     3. └─base::readLines(file, warn = FALSE)
     4. └─base::file(con, "r")
    
     [ FAIL 1 | WARN 7 | SKIP 0 | PASS 34 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64