Skip to content

Tool for Diagnosis of Tables Joins and Complementary Join Features

2packages depend
4.3Kdownloads / year
85.9%test coverage
13/13flavors OK

Overview

About

Tool for diagnosing table joins. It combines the speed of `collapse` and `data.table`, the flexibility of `dplyr`, and the diagnosis and features of the `merge` command in `Stata`.

Changes in 0.3.0

Breaking Changes

  • **Minimum R version:** Now requires R ≥ 4.2.0 (previously R ≥ 2.10.0) due to use of native pipe operator (|>) introduced in R 4.1.0 and uses the pipe placeholder syntax added in R 4.2.0. Users on R 4.0.x must upgrade to use this version.
  • **Default verbosity:** possible_ids.verbose default changed from TRUE to FALSE to reduce console output by default.

New Features

  • **Variable class validation:** New internal function check_var_class() validates that join (by) variables have supported classes (character, integer, numeric, factor, logical, Date, POSIXct, fs_path). Warns users when unsupported classes (e.g., list, complex, raw) are detected and suggests coercion.
  • **Variable filtering helper:** New filter_vars() function simplifies inclusion/exclusion of variables based on names or classes in possible_ids() and related functions.
  • **Test data helper:** New make_test_data() function provides standardized test datasets to improve test maintainability.

Improvements

  • **Zero-row input handling:** check_xy() now detects and reports when input tables have zero rows (previously would silently proceed).
  • **Enhanced by expression support:** Improved handling of by expressions (e.g., "x == y"). Temporary keys are now created only when necessary, and original column names are preserved when possible, reducing unnecessary data.table modifications.
  • **CI/CD updates:** GitHub Actions workflow upgraded from upload-artifact@v3 to v4 for better compatibility.
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
  • **Dependencies:** Added glue package to Imports for improved string interpolation in messages.

Bug Fixes

  • **Test suite improvements:** Rewrote and expanded test coverage in test-checks.R to use helper data and explicit expectations. Added error tests for unsupported by variable types and formats.
  • **Documentation updates:** Added complete documentation for check_var_class(), filter_vars(), and other internal helpers. Updated man/possible_ids.Rd to reflect new default parameter values.
  • **Code formatting:** Minor formatting improvements throughout codebase for consistency.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 790 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsiteYes · pkgdown
Help pages
48 (32 internal)includes a package overview page
Examples that run
56%18 run in a plain check · 14 never run
Exported functions with examples
100%
Documented parameters
92%
Return-value docs
100%
Help pages citing references
0%

Downloads

4.3K
CRAN downloads in the past year
Rank #8,382 · ~12/day · ~355/mo
Daily download trend is not available in this view yet.
46430 days
1.1K90 days
4.3K1 year
Compare downloads with other packages →
Also on101 r2u3 autocran

Repository

9Stars
4Forks
1Open issues
0Open PRs
14Releases
877Commits
5Commit identities
joinmerge
877 commits · Last activity 2025-12-03 · Default branch at 0.3.0.9000, ahead of CRAN 0.3.0 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
85%
Median days to close, 50 most recently updated closed issues
19
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2024-11-05 · 92026-07-07 · 9
PracticesBeta

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

Checks run against github.com/randrescastaneda/joyn on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-12-03 · The repository has a site deploy workflow

pkgdown site last built 2025-12-03, before release 0.3.0 (2025-12-04)

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdrevdep/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing joyn adds 7 packages (6 with compiled code, 10 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, collapse 1.4 MB.

Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Author, Maintainer since 0.0.1 (2021)
Author · added in 0.2.0
Author · added in 0.2.0
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0Latest
    record
    2025-12-04 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.4
    record
    2024-12-14 · diff ↗
  • 0.2.3
    record
    2024-08-21 · diff ↗
  • 0.2.2
    record
    2024-07-10 · diff ↗ ·
    added 1 export
    anti_join
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.0
    record
    2024-03-30 · diff ↗ ·
    added 11 exports
    full_join, get_joyn_options, inner_join, is_balanced, joyn, joyn_msg, joyn_report, left_join, rename_to_valid, right_join, set_joyn_options
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.4
    record
    2021-12-14 · diff ↗ ·
    removed 8 exports
    x1, x2, x3, x4, y1, y2, y3, y4
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.3
    record
    2021-04-28 · diff ↗ ·
    added 11 exports
    freq_table, is_id, possible_ids, x1, x2, x3, x4, y1, y2, y3, y4
  • 0.0.1
    record
    2021-04-02
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-04-02
Total releases
8 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
508 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("joyn")
Castaneda, R. A., Prinsloo, Z., & Tatulli, R. (2025). joyn: Tool for Diagnosis of Tables Joins and Complementary Join Features (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.joyn

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 joyn version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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