Skip to content

OTrecod

0.1.2

Data Fusion using Optimal Transportation Theory

0packages depend
2.6Kdownloads / year
80.7%test coverage
0/13checks pass

Overview

About
Maintained by Gregory GuernecFirst published 2021-01-293 releasesCRAN page ↗

In the context of data fusion, the package provides a set of functions dedicated to the solving of 'recoding problems' using optimal transportation theory (Gares, Guernec, Savy (2019) doi:10.1515/ijb-2018-0106 and Gares, Omer (2020) doi:10.1080/01621459.2020.1775615). From two databases with no overlapping part except a subset of shared variables, the functions of the package assist users until obtaining a unique synthetic database, where the missing information is fully completed.

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: 11.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.15
80.7%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • NOTE2026-07-13
    0 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-12
    0 OK · 11 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • NOTE2026-06-09
    0 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    0 OK · 12 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-05-02
    0 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-25
    0 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,063 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
65%

Downloads

2.6K
CRAN downloads in the past year
Rank #16,589 · ~7/day · ~217/mo
Daily download trend is not available in this view yet.
18830 days
69490 days
2.6K1 year
Compare downloads with other packages →
Also on100 r2u22 autocran20 c2d4u

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 6,608 (66%)Rd 2,651 (26%)Vignettes 757 (8%)
Code characteristics
Cyclomatic complexity
14.0 median / 53 max
Test cases
17 / 0.15 per code line

Test coverage

Line coverage

81%

Expression

82.5%

Tests / Examples

80.7% / – ex

Functions

20 17 exported

Complexity

20.7 avg / 53 max

Call network

20 nodes / 21 edges

Loading call graph…

Lowest coverage

20 functions
FunctionCycloCoverage
OT_joint exp3761%
imput_cov exp1768%
proxim_dist exp3569%
merge_dbs exp3477%
OT_outcome exp3580%
transfo_dist exp5382%

Datasets

Bundled datasets · 6
NameClassRows × ColsAlso ships in
api29data.frame418 × 12
api35data.frame362 × 12
ncds_14data.frame5,476 × 6
ncds_5data.frame365 × 6
simu_datadata.frame700 × 8
tab_testdata.frame10,000 × 6

People & History

People (6)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (4)
Contributor
Contributor
Contributor
Package Timeline

3 releases. Pick two to compare their code metrics. 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
  • 0.1.2Latest
    2022-10-05 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    2021-09-20 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    2021-01-29
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-29
Total releases
3 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5
Bundled data
109 KB / 6 files
Download size
357 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →