Skip to content

wrswoR

1.2.1Package record

Weighted Random Sampling without Replacement

3packages dependsuggested by 3
35.3Kdownloads / year
97.2%test coverage
13/13flavors OK

Overview

About

A collection of implementations of classical and novel algorithms for weighted sampling without replacement.

Changes in 1.2.1

Chore

  • Replace logging dependency with otel (#67).
  • Remove deprecated Rcpp LdFlags from Makevars (#55, #56).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 98 wordsVignettesNoNEWSYes · 100% structured · mentions 1.2.1Citation fileNoWebsiteYes · pkgdown
Help pages
2includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
100%

Downloads

35.3K
CRAN downloads in the past year
Rank #2,507 · ~97/day · ~2.9K/mo
Daily download trend is not available in this view yet.
2K30 days
6.3K90 days
35.3K1 year
Compare downloads with other packages →
Also on446 r2u6 autocran2.5K conda_forge147 c2d4u

Repository

20Stars
4Forks
0Open issues
3Open PRs
3Releases
1,044Commits
10Commit identities
1,044 commits · Last activity 2026-10-10 · 0% stars, 30d · Default branch at 1.2.1.9018, ahead of CRAN 1.2.1 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
89%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-11-22 · 192026-07-07 · 20
PracticesBeta

12 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/krlmlr/wrswor on 2026-10-11.

Continuous integration (3)
GitHub ActionsR CMD check workflowtic

The R CMD check workflow runs on Linux and Windows

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow

Reproducibility and dev environment (2)
data-raw/Makefile
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2025-11-08
    Pull request: opened by its own account
    Commits: 2 by its own account · at least 2 crediting it in the message
  • Claude Codefirst seen 2026-05-11
    Pull request it wrote: opened by a project member
    Commits: 3 by its own account · at least 41 crediting it in the message
Models named in its commits
  • Claude Opus 513 commits · Aug to Sep 2026
  • Claude Opus 5.53 commits · Sep 2026
  • Claude Fable 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing wrswoR adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 3.0.2
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Imports 3
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0 (2016)
Releases (6)

Pick two releases to compare their code metrics.

  • 1.2.1Latest
    record
    2026-05-13 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0
    record
    2025-11-10 · diff ↗ ·
    added 1 export
    sample_int_cccrank
  • 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.1
    record
    2020-07-26 · diff ↗ ·
    removed 1 export
    pattern:^[a-zA-Z][[:alpha:]]*
    added 7 exports
    sample_int_R, sample_int_ccrank, sample_int_crank, sample_int_expj, sample_int_expjs, sample_int_rank, sample_int_rej
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1
    record
    2018-02-02 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0-1
    record
    2016-03-03 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 1.0
    record
    2016-02-22
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-02-22
Total releases
6 / 10 yrs
License
GPL-3 OSI
Minimum R
≥ 3.0.2
Download size
16 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("wrswoR")
Müller, K. (2026). wrswoR: Weighted Random Sampling without Replacement (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.wrswoR

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

Cite the 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 wrswoR version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy