CRAN Package Check Results for Package constellation

Last updated on 2020-08-07 01:49:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 3.17 60.77 63.94 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 2.68 49.87 52.55 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 71.88 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 62.21 OK
r-devel-windows-ix86+x86_64 0.2.0 11.00 57.00 68.00 OK
r-patched-linux-x86_64 0.2.0 3.09 53.96 57.05 OK
r-patched-solaris-x86 0.2.0 72.80 OK
r-release-linux-x86_64 0.2.0 2.99 54.15 57.14 OK
r-release-macos-x86_64 0.2.0 ERROR
r-release-windows-ix86+x86_64 0.2.0 14.00 71.00 85.00 OK
r-oldrel-macos-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 6.00 55.00 61.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-release-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-release-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-release-macos-x86_64