R Observatory
Search

SingleArmMRCT

0.1.1CRAN

Regional Consistency Probability for Single-Arm Multi-Regional Clinical Trials

install.packages("SingleArmMRCT")
CRAN 30-day downloads, method
211+12.8% up on the 30 days before, the better direction
Test coverage, method
48%of lines run by tests

Provides functions to calculate and visualise the Regional Consistency Probability (RCP) for single-arm multi-regional clinical trials (MRCTs) using the Effect Retention Approach (ERA).

Full description

Provides functions to calculate and visualise the Regional Consistency Probability (RCP) for single-arm multi-regional clinical trials (MRCTs) using the Effect Retention Approach (ERA). Six endpoint types are supported: continuous, binary, count (negative binomial), time-to-event via hazard ratio, milestone survival, and restricted mean survival time (RMST). For each endpoint, both a closed-form (or semi-analytical) solution and a Monte Carlo simulation approach are implemented. Two consistency evaluation methods are available: Method 1 (effect retention in Region 1 relative to the overall population) and Method 2 (simultaneous positive effect across all regions). Plotting functions generate faceted visualisations of RCP as a function of the regional allocation proportion, overlaying formula and simulation results for direct comparison. The methodology follows the Japanese MHLW guidelines for MRCTs. Abbreviations used: RCP (Regional Consistency Probability), MRCT (Multi-Regional Clinical Trial), RMST (Restricted Mean Survival Time), MHLW (Ministry of Health, Labour and Welfare).

Maintainer
Gosuke Homma
Latest release
1 Apr 2026
First release
1 Apr 2026

Compare with another package

More details
Releases
1
Needs compilation
No
Needs R
>= 4.1.0
Config/testthat/edition
3
Language
en-GB
RoxygenNote
7.3.3
Subjects (2) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("SingleArmMRCT")
APA
Homma, G. (2026). SingleArmMRCT: Regional Consistency Probability for Single-Arm Multi-Regional
Clinical Trials (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.SingleArmMRCT
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 SingleArmMRCT version 0.1.1 [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.

All 13 check platforms pass.

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

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.1.1
    Time taken
    132 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.1
    Time taken
    95 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.1
    Time taken
    91 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.1
    Time taken
    101 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    161 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.1
    Time taken
    39 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    160 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    199 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    126 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    125 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.1
    Time taken
    39 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    144 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.1
    Time taken
    158 s
  • 13 OK

Over time

No change since 8 Sep 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
8 Sep 2026OK13000
7 Sep 2026Error12001
5 Aug 2026OK13000
1 Aug 2026Note12100
2 Apr 2026OK4000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
212+11% up on the 30 days before, the better directionIt is the sum of 2 channels: CRAN and r2u. autoCRAN was counted over another window, so it is not added.

CRAN rank

21,702 of 26,530

CRAN

211 downloads in the last 30 days

Rank
21,702 of 26,530
Change
+12.8% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

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

It is in the total. Take it out

autoCRAN

0 downloads in the last 7 days

It is not added because it has no figure for the last 30 days.

Over time

Compare downloads

Needs
2
Dependent packages
0
Suggested by
0
Needs (2)
Installing it adds
17 packages, 13.6 MB of source
Of those, need compilation
7
Optional extras (3)
Functions
18
Public exports
12
Lines of R code
3,399
Median complexity
31.5
Functions (18)
Size and composition

Lines by kind (7,137)

KindLinesShare
R code3,39948%
Tests1,18117%
Documentation1,49621%
Guides1,06115%

Lines by language

LanguageLinesShare
R4,58064%
Rd1,49621%
Vignettes1,06115%

Languages are counted from file extensions.

Files
58
R functions
18
Object systems
S3: 6 methods
Complexity
Median
31.5
Mean
25.61
Highest
47
Median lines per function
138.5
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
18
Calls
6
Unconnected
6
Groups
6

The tests ran and coverage was measured.

Lines run by tests
47.8%
Expressions run by tests
62.2%
Test cases
68
Exports named in tests
50%
Coverage by file (12)
Coverage run
Lines counted
1,356
Lines the tests ran
648
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
68
Lines of tests
1,181
Test lines per line of code
0.35
Exports documented
100%
Arguments documented
95.8%
Return value documented
100%
Help pages with examples
66.7%
Examples run in checks
83.3%
Guides (3)
Other documentation
README
Yes, 460 words
Release notes file
Yes
Help pages
18
Lines of documentation
1,496

gosukehommaEX / singlearmmrct on github.com

Stars
0
Forks
0
Open issues
0
Last commit
2 Apr 2026
Activity
Commits
–
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
28 Mar 2026
Licence file reads as
–
Development practices (7)
KindFound
Continuous integrationGitHub Actions
Docs sourcepkgdown
GitHub Pages site last deployed 2026-04-02
The repository has a site deploy workflow
pkgdown site last built 2026-04-02
CRAN release processcran-comments.md, CRAN-SUBMISSION
Lint, format, editorRStudio project

Method, repository practices

Across gosukehommaEX

R releases
  • On CRAN
  • Release
VersionReleasedR
0.1.1 current1 Apr 20264.5.3
Release notes (0.1.1)

Resubmission to CRAN

  • Added Language: en-GB to DESCRIPTION.
  • Expanded abbreviations (RCP, MRCT, RMST, MHLW) in DESCRIPTION.
  • Fixed invalid URL in DESCRIPTION (BugReports and URL fields now point to the correct GitHub repository: gosukehommaEX/SingleArmMRCT).
  • Wrapped long-running examples for plot_rcp1armRMST() and plot_rcp1armMilestoneSurvival() in \donttest{}.

---