CRAN Package Check Results for Package eventstudyr

Last updated on 2026-09-17 02:53:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.0 9.29 148.12 157.41 OK
r-devel-linux-x86_64-debian-gcc 1.2.0 6.28 103.31 109.59 OK
r-devel-linux-x86_64-fedora-clang 1.2.0 102.59 OK
r-devel-linux-x86_64-fedora-gcc 1.2.0 7.00 109.31 116.31 ERROR
r-devel-windows-x86_64 1.2.0 15.00 145.00 160.00 OK
r-patched-linux-x86_64 1.2.0 9.24 132.42 141.66 OK
r-release-linux-x86_64 1.2.0 9.52 129.48 139.00 OK
r-release-macos-arm64 1.2.0 4.00 36.00 40.00 OK
r-release-macos-x86_64 1.2.0 10.00 149.00 159.00 OK
r-release-windows-x86_64 1.2.0 14.00 138.00 152.00 OK
r-oldrel-macos-arm64 1.2.0 4.00 37.00 41.00 OK
r-oldrel-macos-x86_64 1.2.0 10.00 156.00 166.00 OK
r-oldrel-windows-x86_64 1.2.0 20.00 181.00 201.00 OK

Check Details

Version: 1.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/34s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(eventstudyr) > > test_check("eventstudyr") Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead3. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead3. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead3. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead3. To specify a different proxyIV use the proxyIV argument. Attaching package: 'data.table' The following object is masked from 'package:base': %notin% post, overidpost, pre, and overidpre are set to 0. A static model will be estimated. post, overidpost, pre, and overidpre are set to 0. A static model will be estimated. post, overidpost, pre, and overidpre are set to 0. A static model will be estimated. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead5. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead5. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead5. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead5. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead3. To specify a different proxyIV use the proxyIV argument. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead3. To specify a different proxyIV use the proxyIV argument. Saving _problems/test-EventStudyFHS-113.R NOTE: 300 observations removed because of NA values (RHS: 300, IV: 0/300). The instruments 'z_lead3', 'z_fd_lead2', 'z_fd', 'z_fd_lag1', 'z_fd_lag2', 'z_lag3' and 'x_r' have been removed because of collinearity (see $collin.var). NOTE: 300 observations removed because of NA values (RHS: 300, IV: 0/300). The instruments 'z_lead3', 'z_fd_lead2', 'z_fd', 'z_fd_lag1', 'z_fd_lag2', 'z_lag3' and 'x_r' have been removed because of collinearity (see $collin.var). NOTE: 300 observations removed because of NA values (RHS: 300, IV: 0/300). The instruments 'z_lead3', 'z_fd_lead2', 'z_fd', 'z_fd_lag1', 'z_fd_lag2', 'z_lag3' and 'x_r' have been removed because of collinearity (see $collin.var). NOTE: 300 observations removed because of NA values (RHS: 300, IV: 0/300). The instruments 'z_lead3', 'z_fd_lead2', 'z_fd', 'z_fd_lag1', 'z_fd_lag2', 'z_lag3' and 'x_r' have been removed because of collinearity (see $collin.var). NOTE: 300 observations removed because of NA values (RHS: 300, IV: 0/300). The instruments 'z_lead3', 'z_fd_lead2', 'z_fd', 'z_fd_lag1', 'z_fd_lag2', 'z_lag3' and 'x_r' have been removed because of collinearity (see $collin.var). NOTE: 300 observations removed because of NA values (RHS: 300, IV: 0/300). The instruments 'z_lead3', 'z_fd_lead2', 'z_fd', 'z_fd_lag1', 'z_fd_lag2', 'z_lag3' and 'x_r' have been removed because of collinearity (see $collin.var). Saving _problems/test-EventStudyOLS-116.R Saving _problems/test-EventStudyOLS-278.R NOTE: 300 observations removed because of NA values (RHS: 300). Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead1. To specify a different proxyIV use the proxyIV argument. Smoothest path note: The lowest order such that a polynomial is in confidence region is 1. Saving _problems/test-EventStudyPlot-230.R Smoothest path note: The lowest order such that a polynomial is in confidence region is 4. Smoothest path note: The lowest order such that a polynomial is in confidence region is 6. Defaulting to strongest lead of differenced policy variable: proxyIV = z_fd_lead5. To specify a different proxyIV use the proxyIV argument. [ FAIL 4 | WARN 111 | SKIP 0 | PASS 455 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-EventStudyFHS.R:113:5'): FE = TRUE, TFE = FALSE, cluster = TRUE works ── Expected `all.equal(reg$felevels$V1, as.character(unique(df_EventStudyFHS_example$id)))` to be TRUE. Differences: `actual` is a character vector ('target is NULL, current is character') `expected` is a logical vector (TRUE) ── Failure ('test-EventStudyOLS.R:116:5'): FE = TRUE, TFE = FALSE, cluster = TRUE works ── Expected `all.equal(reg$felevels$V1, as.character(unique(df_test_EventStudyOLS$id)))` to be TRUE. Differences: `actual` is a character vector ('target is NULL, current is character') `expected` is a logical vector (TRUE) ── Failure ('test-EventStudyOLS.R:278:5'): FE = TRUE, TFE = FALSE, cluster = FALSE works ── Expected `all.equal(reg$felevels$V1, as.character(unique(df_test_EventStudyOLS$id)))` to be TRUE. Differences: `actual` is a character vector ('target is NULL, current is character') `expected` is a logical vector (TRUE) ── Failure ('test-EventStudyPlot.R:230:5'): computed smoothest path for examples is within expectations ── Expected `p$data$smoothest_path` to equal `matrix(rep(0, nrow(p$data)))`. Differences: `dim(actual)` is absent `dim(expected)` is an integer vector (16, 1) [ FAIL 4 | WARN 111 | SKIP 0 | PASS 455 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc