SLOS
ICU Length of Stay Prediction and Efficiency Evaluation
Description
Provides tools for predicting ICU length of stay and assessing ICU efficiency. It is based on the methodologies proposed by Peres et al. (2022, 2023), which utilize data-driven approaches for modeling and validation, offering insights into ICU performance and patient outcomes. References: Peres et al. (2022)<https://pubmed.ncbi.nlm.nih.gov/35988701/>, Peres et al. (2023)<https://pubmed.ncbi.nlm.nih.gov/37922007/>. More information: <https://github.com/igor-peres/ICU-Length-of-Stay-Prediction>.
Downloads
229
Last 30 days
21609th
580
Last 90 days
1.9K
Last year
Trend: +65.9% (30d vs prior 30d)
0
Last 30 days
24
Last 90 days
93
Last year
Trend: -100% (30d vs prior 30d)
3
Last 7 days
8
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 11, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
package dependencies
Packages required but not available: 'ems', 'caretEnsemble' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 6, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 5, 2026
tests
Running ‘testthat.R’ [42s/122s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(SLOS)
>
> test_check("SLOS")
Saving _problems/test-Prediction-3.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
═
...[truncated]...
uest_fetch.write_disk(req$output, req$url, handle)
7. │ └─curl::curl_fetch_disk(url, x$path, handle = handle)
8. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
Error:
! Test failures.
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
package dependencies
Package required but not available: ‘caretEnsemble’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
tests
Running ‘testthat.R’ [1m/39m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(SLOS)
>
> test_check("SLOS")
Saving _problems/test-Evaluation-5.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
══
...[truncated]...
_fetch.write_disk(req$output, req$url, handle)
10. │ └─curl::curl_fetch_disk(url, x$path, handle = handle)
11. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ]
Error:
! Test failures.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
301
Files
18
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
3
Internal functions
0
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.17
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
100%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
100%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5.0
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
2
First release
2025-01-20
Latest release
2025-02-06
Avg cadence
17 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.