Skip to content

IterativeHardThresholding

Iterative Hard Thresholding Extensions to Cyclops

v1.0.3 · Jul 21, 2025 · Apache License 2.0

Description

Fits large-scale regression models with a penalty that restricts the maximum number of non-zero regression coefficients to a prespecified value. While Chu et al (2020) <doi:10.1093/gigascience/giaa044> describe the basic algorithm, this package uses Cyclops for an efficient implementation.

Downloads

CRAN

432

Last 30 days

9878th

1.3K

Last 90 days

6.9K

Last year

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

r2u CRAN

0

Last 30 days

24

Last 90 days

103

Last year

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

autoCRAN

2

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

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

package dependencies

Package required but not available: ‘Cyclops’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 24, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 17, 2026
ERROR r-release-linux-x86_64

package dependencies

Package required but not available: ‘Cyclops’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 15, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 13, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘Cyclops’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

772

Files

12

Compiled share

0%

Has compiled src

No

Language breakdown

R 494 (64%)Tests 178 (23.1%)Docs 100 (13%)

API

Exported functions

2

Internal functions

6

Recent export changes

v1.0.2+2 createFastIhtPrior, createIhtPrior

Testing & CI

Has tests

Yes

Test-to-code ratio

0.36

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

50%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.2.2

System requirements

C++ standard

License

Apache License 2.0

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2022-09-08

Latest release

2025-07-21

Avg cadence

1047 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.2: 772 LOCv1.0.3: 772 LOC

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

Reverse Dependencies (1)

Dependency Network

Dependencies Reverse dependencies Cyclops ParallelLogger PatientLevelPrediction IterativeHardThresholding

Version History

3 tracked
new 1.0.3 Mar 10, 2026
updated 1.0.3 ← 1.0.2 diff Jul 20, 2025
new 1.0.2 Sep 7, 2022