Skip to content

icensmis

Study Design and Data Analysis in the Presence of Error-Prone Diagnostic Tests and Self-Reported Outcomes

v1.5.0 · Sep 2, 2021 · GPL (>= 2)

Description

We consider studies in which information from error-prone diagnostic tests or self-reports are gathered sequentially to determine the occurrence of a silent event. Using a likelihood-based approach incorporating the proportional hazards assumption, we provide functions to estimate the survival distribution and covariate effects. We also provide functions for power and sample size calculations for this setting. Please refer to Xiangdong Gu, Yunsheng Ma, and Raji Balasubramanian (2015) <doi: 10.1214/15-AOAS810>, Xiangdong Gu and Raji Balasubramanian (2016) <doi: 10.1002/sim.6962>, Xiangdong Gu, Mahlet G Tadesse, Andrea S Foulkes, Yunsheng Ma, and Raji Balasubramanian (2020) <doi: 10.1186/s12911-020-01223-w>.

Downloads

CRAN

347

Last 30 days

12716th

780

Last 90 days

2.9K

Last year

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

r2u CRAN

24

Last 30 days

116

Last 90 days

418

Last year

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

autoCRAN

3

Last 7 days

10

Last 30 days

1

All-time

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

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/icensmis.Rcheck/00install.out' for details.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xiangdong Gu <ustcgxd@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Xiangdong",
                      family = "Gu",
                      role = c("aut", "cre"),
                      email = "ustcgxd@gmail.com"),
               person(given = "Raji",
                      family = "Balasubramanian",
                      role = "aut"))
as necessary.

Line coverage

Expression

Tests / Examples

Functions

173 9 exported

Complexity

3.4 avg / 31 max

Call network

173 nodes / 181 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

5,176

Files

31

Compiled share

47.2%

Has compiled src

Yes

Language breakdown

R 1,896 (36.6%)C/C++/src 2,444 (47.2%)Tests 89 (1.7%)Docs 747 (14.4%)

API

Exported functions

9

Internal functions

43

Recent export changes

v2.15.3+1 pattern:^[[:alpha:]]+
v1.5.0+1 plot_surv

Testing & CI

Has tests

Yes

Test-to-code ratio

0.05

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

66.7%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

10

First release

2012-11-25

Latest release

2021-09-02

Avg cadence

236 days

Cold removal rate

100%

Dep drift

1

LOC over versions

v2.15.3: 768 LOCv1.0: 768 LOCv3.0.3: 1,096 LOCv1.1: 1,096 LOCv1.2: 4,439 LOCv1.2.1: 4,212 LOCv1.3.0: 4,410 LOCv1.3.1: 4,420 LOCv1.4.0: 5,019 LOCv1.5.0: 5,176 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp icensmis

Version History

9 tracked
new 1.5.0 Mar 10, 2026
updated 1.5.0 ← 1.4.0 diff Sep 1, 2021
updated 1.4.0 ← 1.3.1 diff Oct 1, 2020
updated 1.3.1 ← 1.3.0 diff Jan 2, 2016
updated 1.3.0 ← 1.2.1 diff Oct 13, 2015
updated 1.2.1 ← 1.2 diff Jun 26, 2014
updated 1.2 ← 1.1 diff Jun 25, 2014
updated 1.1 ← 1.0 diff Nov 1, 2013
new 1.0 Nov 25, 2012