Skip to content

tidysynth

0.2.1

A Tidy Implementation of the Synthetic Control Method

0packages depend
13.2Kdownloads / year
64.9%test coverage
13/13checks pass

Overview

About
Maintained by Eric DunfordFirst published 2021-01-273 releasesCRAN page ↗

A synthetic control offers a way of evaluating the effect of an intervention in comparative case studies. The package makes a number of improvements when implementing the method in R. These improvements allow users to inspect, visualize, and tune the synthetic control more easily. A key benefit of a tidy implementation is that the entire preparation process for building the synthetic control can be accomplished in a single pipe.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.29
64.9%
Coverage · measured lines
94%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 2,003 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
6%
Documented parameters
100%
Return-value docs
100%
References docs
5%

Downloads

13.2K
CRAN downloads in the past year
Rank #3,763 · ~36/day · ~1.1K/mo
Daily download trend is not available in this view yet.
70630 days
2.8K90 days
13.2K1 year
Compare downloads with other packages →
Also on115 r2u30 autocran32 c2d4u

Dependencies

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

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,688 (67%)Rd 1,825 (33%)
Code characteristics
Object systems
S31
Cyclomatic complexity
1.0 median / 30 max
Test cases
13 / 0.29 per code line

Test coverage

Line coverage

65%

Expression

57.5%

Tests / Examples

64.9% / 0% ex

Functions

36 33 exported

Complexity

3.1 avg / 30 max

Call network

36 nodes / 15 edges

Loading call graph…

Lowest coverage

36 functions
FunctionCycloCoverage
plot_differences exp10%
plot_differences exp30%
plot_mspe_ratio exp10%
plot_mspe_ratio exp10%
plot_placebos exp10%
plot_placebos exp40%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
smokingtbl_df/tbl/data.frame1,209 × 7

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
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
  • 0.2.1Latest
    2025-03-24 · current release · diff ↗
  • unarchivedReturned to CRAN
    2025-03-24
  • archivedRemoved from CRAN
    2024-12-03
    issues were not corrected despite reminders
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.0
    2023-05-21 · diff ↗
  • unarchivedReturned to CRAN
    2023-05-21
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-04-14
    requires archived package 'LowRankQP'
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    2021-01-27
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-27
Total releases
3 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
17 KB / 1 file
Download size
122 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →