R Observatory
Search
install.packages("MSPRT")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
218−23% down on the 30 days before, the worse direction

Given the maximum available sample size (N) for an experiment, and the target levels of Type I and II error probabilities, this package designs a modified SPRT (MSPRT).

Full description

Given the maximum available sample size (N) for an experiment, and the target levels of Type I and II error probabilities, this package designs a modified SPRT (MSPRT). For any designed MSPRT the package can also obtain its operating characteristics and implement the test for a given sequentially observed data. The MSPRT is defined in a manner very similar to Wald's initial proposal. The proposed test has shown evidence of reducing the average sample size required to perform statistical hypothesis tests at specified levels of significance and power. Currently, the package implements one-sample proportion tests, one and two-sample z tests, and one and two-sample t tests. A brief user guidance for this package is provided below. One can also refer to the supplemental information for the same.

Maintainer
Sandipan Pramanik
Licence
GPL (>= 2)
Latest release
13 Nov 2020
First release
17 Sep 2018

Compare with another package

More details
Releases
4
Needs compilation
No
Date
2020-11-11
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("MSPRT")
APA
Pramanik, S., Bhattacharya, A., & Johnson, V. E. (2020). MSPRT: A Modified Sequential Probability Ratio Test (MSPRT) (Version 3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.MSPRT
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for MSPRT version 3.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 2 of 13 check platforms have notes.

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    3.0
    Time taken
    106 s

    dependencies in R code: Note

    Namespaces in Imports field not imported from:

    Full output

  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    3.0
    Time taken
    105 s

    dependencies in R code: Note

    Namespaces in Imports field not imported from:

    Full output

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    3.0
    Time taken
    162 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    3.0
    Time taken
    104 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    3.0
    Time taken
    154 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    3.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    3.0
    Time taken
    112 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    3.0
    Time taken
    202 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    3.0
    Time taken
    159 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    3.0
    Time taken
    150 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    3.0
    Time taken
    33 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    3.0
    Time taken
    135 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    3.0
    Time taken
    181 s
  • 2 Note
  • 11 OK
Check output (1)

dependencies in R code, Note on 2 platforms

Namespaces in Imports field not imported from:
  ‘datasets’ ‘grDevices’ ‘graphics’ ‘iterators’ ‘methods’
All declared Imports should be used.

Over time

No change since 9 Jun 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
9 Jun 2026Note11200
8 Jun 2026Error10201
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
222−23.7% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

20,990 of 26,530

CRAN

218 downloads in the last 30 days

Rank
20,990 of 26,530
Change
−23% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−80% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
no change on the 30 days before

It is in the total. Take it out

Over time

Compare downloads

Needs
13
Dependent packages
0
Suggested by
0
Needs (13)
Installing it adds
72 packages, 64.8 MB of source
Of those, need compilation
34
Functions
23
Public exports
23
Lines of R code
21,757
Median complexity
66
Functions (23)
Size and composition

Lines by kind (23,480)

KindLinesShare
R code21,75793%
Documentation1,7237%

Lines by language

LanguageLinesShare
R21,75793%
Rd1,7237%

Languages are counted from file extensions.

Files
29
R functions
23
Complexity
Median
66
Mean
70.39
Highest
133
Median lines per function
675
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
23
Calls
33
Unconnected
1
Groups
1
Growth (4 releases)
Total lines by release
5,551 on 17 Sep 201823,480 on 13 Nov 2020
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
99.4%
Return value documented
34.8%
Help pages with examples
33.3%
Examples run in checks
62.5%
Other documentation
README
No
Release notes file
No
Help pages
24
Lines of documentation
1,723

No repository on record

R releases
  • On CRAN
  • Release
VersionReleasedR
3.0 current13 Nov 20204.0.3
2.119 Aug 20193.6.1
2.017 Feb 20193.5.2
1.017 Sep 20183.5.0