← Back to home
Comparison · Analytics

r2dii.analysis vs TrialEmulation

A side-by-side editorial comparison of r2dii.analysis and TrialEmulation — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

r2dii.analysis vs TrialEmulation: at a glance

Featurer2dii.analysisTrialEmulation
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesclimate-finance, portfolio-alignment, pacta, scenario-analysiscausal-inference, target-trial-emulation, duckdb, maintenance
Last editorial update17m ago1h ago
WebsiteVisit →Visit →

What is r2dii.analysis?

The climate-alignment maths behind PACTA, now stable and maintained rather than reshaped

r2dii.analysis computes the target-setting side of PACTA: market-share and sectoral decarbonisation targets that measure a loan book or portfolio against climate scenarios. It sits downstream of the matched company data the sibling packages produce. The 0.5.0 release declared it lifecycle-stable and handed maintenance to a new lead, and releases since have been narrow corrections rather than new methods.

Read the full r2dii.analysis trajectory →

What is TrialEmulation?

Target trial emulation held steady by dependency maintenance, not new methods.

TrialEmulation implements target trial emulation from observational data, using duckdb to handle the expanded per-period datasets that approach generates. Every release in the visible window is upkeep: two consecutive releases removing the archived parglm dependency, two fixing tests against testthat updates, and two tracking duckdb sampling changes. No methodological work appears in the feed since before February 2025.

Read the full TrialEmulation trajectory →

r2dii.analysis vs TrialEmulation: editorial side-by-side

R0.0

The climate-alignment maths behind PACTA, now stable and maintained rather than reshaped

◆ Current state

r2dii.analysis computes the target-setting side of PACTA: market-share and sectoral decarbonisation targets that measure a loan book or portfolio against climate scenarios. It sits downstream of the matched company data the sibling packages produce. The 0.5.0 release declared it lifecycle-stable and handed maintenance to a new lead, and releases since have been narrow corrections rather than new methods.

◆ Where it's heading

The history is a package converging. Early releases churn the output contract of target_market_share() and target_sda() — which sectors appear, which years, how missing production is treated — and each change alters the numbers users get. The ald-to-abcd rename runs across several releases before completing, and by 0.5.0 the churn has stopped, with three older summarise functions soft-deprecated and the package marked stable. What remains is edge-case correctness in target coverage.

◆ Prediction

With the package marked stable and the terminology migration finished, the soft-deprecated summarise functions are the obvious next thing to remove outright.

T0.0

Target trial emulation held steady by dependency maintenance, not new methods.

◆ Current state

TrialEmulation implements target trial emulation from observational data, using duckdb to handle the expanded per-period datasets that approach generates. Every release in the visible window is upkeep: two consecutive releases removing the archived parglm dependency, two fixing tests against testthat updates, and two tracking duckdb sampling changes. No methodological work appears in the feed since before February 2025.

◆ Where it's heading

The package is being kept installable rather than extended. Its dependency surface, duckdb for storage, parglm for fitting, testthat for checks, generates most of the release traffic, and CRAN archiving parglm forced two separate releases three months apart to fully excise it. The version numbering, still in the 0.0.4.x range after years, suggests the maintainers do not consider the API settled enough to promote.

◆ Prediction

Further releases will most likely be triggered by upstream dependency changes; the entries give no signal on when methodological work resumes.

Alternatives to r2dii.analysis and TrialEmulation

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either r2dii.analysis or TrialEmulation.

See all r2dii.analysis alternatives → · See all TrialEmulation alternatives →

Recent activity from r2dii.analysis and TrialEmulation

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 4mo agoTrialEmulationDocumentation references to the archived parglm removed
  2. 7mo agoTrialEmulationparglm dependency dropped after CRAN archiving
  3. 7mo agor2dii.analysisLow-carbon technology targets filled in for partial company coverage
  4. 9mo agoTrialEmulationTest fixes for updated testthat, plus link updates
  5. 9mo agoTrialEmulationCompatibility fixes ahead of testthat 3.3.0
  6. 1y agoTrialEmulationTests updated for duckdb 1.3.0 sampling; R 4.1 now required
  7. 1y agoTrialEmulationTests updated for duckdb 1.2.0 sampling changes
  8. 1y agor2dii.analysisColumn definitions filled into the data dictionary
  9. 1y agor2dii.analysisPackage declared stable, three summarise functions soft-deprecated
  10. 2y agor2dii.analysisald argument removed for good in favour of abcd
  11. 2y agor2dii.analysisCompany-level SDA converges on the scenario's final year
  12. 3y agor2dii.analysisRepository moved to the RMI-PACTA organisation

Frequently asked questions

What is the difference between r2dii.analysis and TrialEmulation?

Both compete on the same themes — r-package — within Analytics. r2dii.analysis and TrialEmulation are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is r2dii.analysis better than TrialEmulation?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. r2dii.analysis and TrialEmulation are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to r2dii.analysis?

Top r2dii.analysis alternatives in Analytics are ranked by recent ship velocity. Browse the "r2dii.analysis alternatives" section above for the current picks, or visit /alternatives/r2dii-analysis for the full list with editorial commentary on each.

What are the best alternatives to TrialEmulation?

Top TrialEmulation alternatives in Analytics are ranked by recent ship velocity. Browse the "TrialEmulation alternatives" section above for the current picks, or visit /alternatives/trialemulation for the full list with editorial commentary on each.