Skip to content
CRAN requires the check problems on this package to be fixed before 2026-08-31 or it will be archived.

preference

1.1.6

2-Stage Preference Trial Design and Analysis

0packages depend
2.7Kdownloads / year
59.3%test coverage
0/13checks pass

Overview

About
Maintained by Michael KaneFirst published 2017-06-166 releasesCRAN page ↗GitHub ↗

Design and analyze two-stage randomized trials with a continuous outcome measure. The package contains functions to compute the required sample size needed to detect a given preference, treatment, and selection effect; alternatively, the package contains functions that can report the study power given a fixed sample size. Finally, analysis functions are provided to test each effect using either summary data (i.e. means, variances) or raw study data doi:10.18637/jss.v094.c02.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 2.1 min · r-devel-linux-x86_64-fedora-clang
Check history
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation signals are not tracked yet for this package.

Downloads

2.7K
CRAN downloads in the past year
Rank #14,605 · ~8/day · ~229/mo
preference
Daily download trend is not available in this view yet.
24230 days
73790 days
2.7K1 year
Compare downloads with other packages →
Also on93 r2u23 autocran34 c2d4u

Repository

Repository
3Stars
0Forks
0Open issues
0Open PRs
1Releases
197Commits
4Contributors
clinical-trialspreference-designclinical-trial-design
197 commits · Last activity 2020-09-08

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/kaneplusplus/preference on 2026-07-19.

Continuous integration (2)
Travis CIAppVeyor
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Maintainer, Contributor
Authors (1)
Author, Copyright holder
Contributors (2)
Maintainer, Contributor
Contributor
Copyright holders (1)
Author, Copyright holder
Package Timeline

6 releases. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.6Latest
    2020-09-09 · current release · diff ↗
  • 1.1.3
    2020-06-19 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.2
    2018-11-29 · diff ↗
  • 0.2.2
    2018-05-08 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.2
    2017-11-28 · diff ↗
  • unarchivedReturned to CRAN
    2017-11-28
  • archivedRemoved from CRAN
    2017-11-28
    policy violation
Show 2 earlier events
  • 0.1.0
    2017-06-16
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-06-16
Total releases
6 / 9 yrs
License
LGPL-2 OSI
Download size
34 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →