Skip to content

coop

Co-Operation: Fast Covariance, Correlation, and Cosine Similarity Operations

v0.6-3 · Sep 19, 2021 · BSD 2-clause License + file LICENSE

Description

Fast implementations of the co-operations: covariance, correlation, and cosine similarity. The implementations are fast and memory-efficient and their use is resolved automatically based on the input data, handled by R's S3 methods. Full descriptions of the algorithms and benchmarks are available in the package vignettes.

Downloads

CRAN

1.6K

Last 30 days

2953rd

5.2K

Last 90 days

25.2K

Last year

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

r2u CRAN

87

Last 30 days

218

Last 90 days

588

Last year

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

autoCRAN

4

Last 7 days

20

Last 30 days

1

All-time

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

conda-forge CRAN

285

Last 30 days

761

Last 90 days

4.1K

Last year

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

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: ‘Drew Schmidt <wrathematics@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Drew Schmidt <wrathematics@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Check History

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: ‘Drew Schmidt <wrathematics@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Drew Schmidt <wrathematics@gmail.com>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Code

Structure

Lines of code

6,085

Files

86

Compiled share

56%

Has compiled src

Yes

Language breakdown

R 789 (13%)C/C++/src 3,408 (56%)Tests 317 (5.2%)Docs 310 (5.1%)Vignettes 1,261 (20.7%)

API

Exported functions

8

Internal functions

39

Recent export changes

v0.6-0+4 scaler, tcosine, tcovar +1 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.40

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\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

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.1.0

System requirements

C++ standard

License

BSD 2-clause License + file LICENSE

License flags

not SPDX, not OSI

History

Versions

6

First release

2016-03-19

Latest release

2021-09-19

Avg cadence

336 days

Cold removal rate

Dep drift

0

LOC over versions

v0.3-0: 2,787 LOCv0.4-0: 3,527 LOCv0.6-0: 6,283 LOCv0.6-1: 6,090 LOCv0.6-2: 6,068 LOCv0.6-3: 6,085 LOC

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

Reverse Dependencies (4)

suggests

Dependency Network

Dependencies Reverse dependencies RaceID cvCovEst scapGNN maldipickr coop

Version History

7 tracked
new 0.6-3 Mar 10, 2026
updated 0.6-3 ← 0.6-2 diff Sep 18, 2021
updated 0.6-2 ← 0.6-1 diff Apr 21, 2019
updated 0.6-1 ← 0.6-0 diff Nov 13, 2017
updated 0.6-0 ← 0.4-0 diff Dec 12, 2016
updated 0.4-0 ← 0.3-0 diff Apr 4, 2016
new 0.3-0 Mar 18, 2016