Skip to content

cornet

Penalised Regression for Dichotomised Outcomes

v1.0.0 · Sep 26, 2024 · GPL-3

Description

Implements lasso and ridge regression for dichotomised outcomes (<doi:10.1080/02664763.2023.2233057>), i.e., numerical outcomes that were transformed to binary outcomes. Such artificial binary outcomes indicate whether an underlying measurement is greater than a threshold.

Downloads

CRAN

458

Last 30 days

9120th

1.2K

Last 90 days

4.6K

Last year

Trend: +37.1% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

42

Last 90 days

132

Last year

Trend: -22.2% (30d vs prior 30d)

autoCRAN

6

Last 7 days

10

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
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 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for unstated dependencies in ‘tests’

Fatal error: cannot create 'R_TempDir'
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,580

Files

36

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,140 (44.2%)Tests 104 (4%)Docs 503 (19.5%)Vignettes 833 (32.3%)

API

Exported functions

2

Internal functions

8

Testing & CI

Has tests

Yes

Test-to-code ratio

0.09

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

50%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

10

First release

2019-03-21

Latest release

2024-09-26

Avg cadence

183 days

Cold removal rate

Dep drift

0

LOC over versions

v0.0.1: 1,504 LOCv0.0.2: 2,116 LOCv0.0.3: 2,135 LOCv0.0.4: 2,249 LOCv0.0.5: 2,284 LOCv0.0.6: 2,284 LOCv0.0.7: 2,485 LOCv0.0.8: 2,538 LOCv0.0.9: 2,558 LOCv1.0.0: 2,580 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (2)

imports

Dependency Network

Dependencies Reverse dependencies glmnet palasso joinet starnet cornet

Version History

11 tracked
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.0.9 diff Sep 26, 2024
updated 0.0.9 ← 0.0.8 diff Aug 10, 2023
updated 0.0.8 ← 0.0.7 diff Jun 2, 2023
updated 0.0.7 ← 0.0.6 diff Feb 15, 2023
updated 0.0.6 ← 0.0.5 diff Aug 16, 2022
updated 0.0.5 ← 0.0.4 diff Apr 18, 2021
updated 0.0.4 ← 0.0.3 diff Mar 17, 2020
updated 0.0.3 ← 0.0.2 diff Nov 12, 2019
updated 0.0.2 ← 0.0.1 diff Sep 25, 2019
new 0.0.1 Mar 20, 2019