CRAN Package Check Results for Package constellation

Last updated on 2022-01-26 06:50:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 3.15 73.60 76.75 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 2.92 59.40 62.32 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 78.61 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 68.49 OK
r-devel-windows-x86_64-new-UL 0.2.0 48.00 79.00 127.00 OK
r-devel-windows-x86_64-new-TK 0.2.0 OK
r-patched-linux-x86_64 0.2.0 3.36 64.33 67.69 OK
r-release-linux-x86_64 0.2.0 3.26 62.82 66.08 OK
r-release-macos-arm64 0.2.0 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-ix86+x86_64 0.2.0 8.00 61.00 69.00 OK
r-oldrel-macos-x86_64 0.2.0 ERROR
r-oldrel-windows-ix86+x86_64 0.2.0 7.00 62.00 69.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘constellation-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: bundle
    > ### Title: Identify bundle items that occur around a given event
    > ### Aliases: bundle
    >
    > ### ** Examples
    >
    > library(data.table)
    > temp <- as.data.table(vitals[VARIABLE == "TEMPERATURE"])
    > pulse <- as.data.table(vitals[VARIABLE == "PULSE"])
    > resp <- as.data.table(vitals[VARIABLE == "RESPIRATORY_RATE"])
    >
    > temp[, RECORDED_TIME := as.POSIXct(RECORDED_TIME,
    + format = "%Y-%m-%dT%H:%M:%SZ", tz = "UTC")]
    > pulse[, RECORDED_TIME := as.POSIXct(RECORDED_TIME,
    + format = "%Y-%m-%dT%H:%M:%SZ", tz = "UTC")]
    > resp[, RECORDED_TIME := as.POSIXct(RECORDED_TIME,
    + format = "%Y-%m-%dT%H:%M:%SZ", tz = "UTC")]
    >
    > # Pass single window_hours_pre
    > # All instances of bundle items within time window of event
    > bundle(temp, pulse, resp,
    + bundle_names = c("PLATELETS", "INR"), window_hours_pre = 24,
    + window_hours_post = c(6, 6), join_key = "PAT_ID",
    + time_var = "RECORDED_TIME", event_name = "CREATININE", mult = "all")
    Error in as.POSIXct.numeric(e) : 'origin' must be supplied
    Calls: bundle ... unlist -> lapply -> FUN -> as.POSIXct -> as.POSIXct.numeric
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     16. base:::FUN(X[[i]], ...)
     18. base::as.POSIXct.numeric(e)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 94 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
     1. Error: bundle produces expected values for test patient (@test-bundle.R#43)
     2. Error: bundle names assign properly (@test-bundle.R#130)
     3. Error: event name assigns properly (@test-bundle.R#162)
     4. Error: window hours roll over (@test-bundle.R#173)
     5. Error: default arguments function properly (@test-bundle.R#209)
     6. Error: value change produces expected values for test patient (@test-value_change.R#25)
     7. Error: default arguments function properly (@test-value_change.R#54)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘identify_sepsis.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 70-76 (identify_sepsis.Rmd)
    Error: processing vignette 'identify_sepsis.Rmd' failed with diagnostics:
    'origin' must be supplied
    --- failed re-building ‘identify_sepsis.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘identify_sepsis.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-macos-x86_64