TrialEmulation
Causal Analysis of Observational Time-to-Event Data
Description
Implements target trial emulation methods to apply randomized clinical trial design and analysis in an observational setting. Using marginal structural models, it can estimate intention-to-treat and per-protocol effects in emulated trials using electronic health records. A description and application of the method can be found in Danaei et al (2013) <doi:10.1177/0962280211403603>.
Downloads
669
Last 30 days
4783rd
2K
Last 90 days
6.5K
Last year
Trend: +11.9% (30d vs prior 30d)
40
Last 30 days
143
Last 90 days
472
Last year
Trend: -45.2% (30d vs prior 30d)
1
Last 7 days
10
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| 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 History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
whether package can be installed
install log ‘’ does not exist
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 24, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 17, 2026
package dependencies
Package required but not available: ‘duckdb’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 15, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 13, 2026
package dependencies
Package required but not available: ‘duckdb’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/TrialEmulation.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
NOTE 8 OK · 6 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Rd cross-references
Unknown package ‘parglm’ in Rd xrefs
Rd cross-references
Unknown package ‘parglm’ in Rd xrefs
Rd cross-references
Undeclared package ‘parglm’ in Rd xrefs Unknown package ‘parglm’ in Rd xrefs
Rd cross-references
Unknown package ‘parglm’ in Rd xrefs
Rd cross-references
Unknown package ‘parglm’ in Rd xrefs
Rd cross-references
Unknown package ‘parglm’ in Rd xrefs