Last updated on 2018-12-10 07:48:41 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.1 | 2.37 | 40.23 | 42.60 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.1 | 2.22 | 31.97 | 34.19 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.1 | 51.34 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 49.41 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.1.1 | 11.00 | 58.00 | 69.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.1 | 2.27 | 38.04 | 40.31 | ERROR | |
r-patched-solaris-x86 | 0.1.1 | 80.10 | ERROR | |||
r-release-linux-x86_64 | 0.1.1 | 2.34 | 37.78 | 40.12 | ERROR | |
r-release-windows-ix86+x86_64 | 0.1.1 | 6.00 | 58.00 | 64.00 | ERROR | |
r-release-osx-x86_64 | 0.1.1 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.1 | 7.00 | 64.00 | 71.00 | ERROR | |
r-oldrel-osx-x86_64 | 0.1.1 | OK |
Version: 0.1.1
Check: dependencies in R code
Result: NOTE
Missing or unexported object: ‘estimatr::tidy.lm_robust’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘ri2-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: conduct_ri
> ### Title: Conduct Randomization Inference
> ### Aliases: conduct_ri
>
> ### ** Examples
>
>
> # Data from Gerber and Green Table 2.2
>
>
> # Randomization Inference for the Average Treatment Effect
>
> table_2.2 <-
+ data.frame(d = c(1, 0, 0, 0, 0, 0, 1),
+ y = c(15, 15, 20, 20, 10, 15, 30))
>
> ## Declare randomization procedure
> declaration <- declare_ra(N = 7, m = 2)
>
> ## Conduct Randomization Inference
> out <- conduct_ri(y ~ d,
+ declaration = declaration,
+ assignment = "d",
+ sharp_hypothesis = 0,
+ data = table_2.2)
Error: 'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ri2)
Loading required package: randomizr
Loading required package: estimatr
>
> test_check("ri2")
── 1. Error: Basic Two Arm Trial (@test-blocked.R#16) ─────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, sharp_hypothesis = 0, data = dat,
sims = 10) at testthat/test-blocked.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 2. Error: Compare to ri (@test-compare-ri.R#43) ────────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ Z, sharp_hypothesis = 0, declaration = declaration, data = data.frame(y,
Z)) at testthat/test-compare-ri.R:43
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 3. Error: main effect f test (@test-f_stat.R#14) ───────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ 1, model_2 = Y ~ Z, declaration = declaration, assignment = "Z",
sharp_hypothesis = 0, data = df, sims = 100) at testthat/test-f_stat.R:14
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 4. Error: interaction test under constant fx (@test-f_stat.R#43) ───────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ Z + X, model_2 = Y ~ Z + X + Z * X, declaration = declaration,
assignment = "Z", sharp_hypothesis = ate_obs, data = df, sims = 100) at testthat/test-f_stat.R:43
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34) ──────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ d, declaration = declaration, assignment = "d", sharp_hypothesis = 0,
data = table_2.2) at testthat/test-gg-in-text.R:34
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14) ─────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 50) at testthat/test-multi-arm.R:14
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 7. Error: Basic Two Arm Trial (@test-progress_bar.R#15) ────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100, progress_bar = TRUE) at testthat/test-progress_bar.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 8. Error: Studentize (@test-studentize.R#16) ───────────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
studentize = TRUE, data = df, sims = 100) at testthat/test-studentize.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 9. Error: Basic Two Arm Trial (@test-two-arm.R#15) ─────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100) at testthat/test-two-arm.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
══ testthat results ═══════════════════════════════════════════════════════════
OK: 11 SKIPPED: 0 FAILED: 9
1. Error: Basic Two Arm Trial (@test-blocked.R#16)
2. Error: Compare to ri (@test-compare-ri.R#43)
3. Error: main effect f test (@test-f_stat.R#14)
4. Error: interaction test under constant fx (@test-f_stat.R#43)
5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34)
6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14)
7. Error: Basic Two Arm Trial (@test-progress_bar.R#15)
8. Error: Studentize (@test-studentize.R#16)
9. Error: Basic Two Arm Trial (@test-two-arm.R#15)
Error: testthat unit tests failed
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.1
Check: re-building of vignette outputs
Result: WARN
Error in re-building vignettes:
...
Quitting from lines 42-57 (ri2_vignette.Rmd)
Error: processing vignette ‘ri2_vignette.Rmd’ failed with diagnostics:
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ri2)
Loading required package: randomizr
Loading required package: estimatr
>
> test_check("ri2")
── 1. Error: Basic Two Arm Trial (@test-blocked.R#16) ─────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, sharp_hypothesis = 0, data = dat,
sims = 10) at testthat/test-blocked.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 2. Error: Compare to ri (@test-compare-ri.R#43) ────────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ Z, sharp_hypothesis = 0, declaration = declaration, data = data.frame(y,
Z)) at testthat/test-compare-ri.R:43
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 3. Error: main effect f test (@test-f_stat.R#14) ───────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ 1, model_2 = Y ~ Z, declaration = declaration, assignment = "Z",
sharp_hypothesis = 0, data = df, sims = 100) at testthat/test-f_stat.R:14
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 4. Error: interaction test under constant fx (@test-f_stat.R#43) ───────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ Z + X, model_2 = Y ~ Z + X + Z * X, declaration = declaration,
assignment = "Z", sharp_hypothesis = ate_obs, data = df, sims = 100) at testthat/test-f_stat.R:43
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34) ──────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ d, declaration = declaration, assignment = "d", sharp_hypothesis = 0,
data = table_2.2) at testthat/test-gg-in-text.R:34
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14) ─────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 50) at testthat/test-multi-arm.R:14
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 7. Error: Basic Two Arm Trial (@test-progress_bar.R#15) ────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100, progress_bar = TRUE) at testthat/test-progress_bar.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 8. Error: Studentize (@test-studentize.R#16) ───────────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
studentize = TRUE, data = df, sims = 100) at testthat/test-studentize.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 9. Error: Basic Two Arm Trial (@test-two-arm.R#15) ─────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100) at testthat/test-two-arm.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
══ testthat results ═══════════════════════════════════════════════════════════
OK: 11 SKIPPED: 0 FAILED: 9
1. Error: Basic Two Arm Trial (@test-blocked.R#16)
2. Error: Compare to ri (@test-compare-ri.R#43)
3. Error: main effect f test (@test-f_stat.R#14)
4. Error: interaction test under constant fx (@test-f_stat.R#43)
5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34)
6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14)
7. Error: Basic Two Arm Trial (@test-progress_bar.R#15)
8. Error: Studentize (@test-studentize.R#16)
9. Error: Basic Two Arm Trial (@test-two-arm.R#15)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘ri2-Ex.R’ failed
The error most likely occurred in:
> ### Name: conduct_ri
> ### Title: Conduct Randomization Inference
> ### Aliases: conduct_ri
>
> ### ** Examples
>
>
> # Data from Gerber and Green Table 2.2
>
>
> # Randomization Inference for the Average Treatment Effect
>
> table_2.2 <-
+ data.frame(d = c(1, 0, 0, 0, 0, 0, 1),
+ y = c(15, 15, 20, 20, 10, 15, 30))
>
> ## Declare randomization procedure
> declaration <- declare_ra(N = 7, m = 2)
>
> ## Conduct Randomization Inference
> out <- conduct_ri(y ~ d,
+ declaration = declaration,
+ assignment = "d",
+ sharp_hypothesis = 0,
+ data = table_2.2)
Error: 'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ri2)
Loading required package: randomizr
Loading required package: estimatr
>
> test_check("ri2")
── 1. Error: Basic Two Arm Trial (@test-blocked.R#16) ─────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, sharp_hypothesis = 0, data = dat,
sims = 10) at testthat/test-blocked.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 2. Error: Compare to ri (@test-compare-ri.R#43) ────────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ Z, sharp_hypothesis = 0, declaration = declaration, data = data.frame(y,
Z)) at testthat/test-compare-ri.R:43
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 3. Error: main effect f test (@test-f_stat.R#14) ───────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ 1, model_2 = Y ~ Z, declaration = declaration, assignment = "Z",
sharp_hypothesis = 0, data = df, sims = 100) at testthat/test-f_stat.R:14
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 4. Error: interaction test under constant fx (@test-f_stat.R#43) ───────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ Z + X, model_2 = Y ~ Z + X + Z * X, declaration = declaration,
assignment = "Z", sharp_hypothesis = ate_obs, data = df, sims = 100) at testthat/test-f_stat.R:43
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34) ──────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ d, declaration = declaration, assignment = "d", sharp_hypothesis = 0,
data = table_2.2) at testthat/test-gg-in-text.R:34
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14) ─────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 50) at testthat/test-multi-arm.R:14
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 7. Error: Basic Two Arm Trial (@test-progress_bar.R#15) ────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100, progress_bar = TRUE) at testthat/test-progress_bar.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 8. Error: Studentize (@test-studentize.R#16) ───────────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
studentize = TRUE, data = df, sims = 100) at testthat/test-studentize.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
── 9. Error: Basic Two Arm Trial (@test-two-arm.R#15) ─────────────────────────
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100) at testthat/test-two-arm.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
══ testthat results ═══════════════════════════════════════════════════════════
OK: 11 SKIPPED: 0 FAILED: 9
1. Error: Basic Two Arm Trial (@test-blocked.R#16)
2. Error: Compare to ri (@test-compare-ri.R#43)
3. Error: main effect f test (@test-f_stat.R#14)
4. Error: interaction test under constant fx (@test-f_stat.R#43)
5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34)
6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14)
7. Error: Basic Two Arm Trial (@test-progress_bar.R#15)
8. Error: Studentize (@test-studentize.R#16)
9. Error: Basic Two Arm Trial (@test-two-arm.R#15)
Error: testthat unit tests failed
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ri2)
Loading required package: randomizr
Loading required package: estimatr
>
> test_check("ri2")
-- 1. Error: Basic Two Arm Trial (@test-blocked.R#16) -------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, sharp_hypothesis = 0, data = dat,
sims = 10) at testthat/test-blocked.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 2. Error: Compare to ri (@test-compare-ri.R#43) ----------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ Z, sharp_hypothesis = 0, declaration = declaration, data = data.frame(y,
Z)) at testthat/test-compare-ri.R:43
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 3. Error: main effect f test (@test-f_stat.R#14) ---------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ 1, model_2 = Y ~ Z, declaration = declaration, assignment = "Z",
sharp_hypothesis = 0, data = df, sims = 100) at testthat/test-f_stat.R:14
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 4. Error: interaction test under constant fx (@test-f_stat.R#43) -----------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ Z + X, model_2 = Y ~ Z + X + Z * X, declaration = declaration,
assignment = "Z", sharp_hypothesis = ate_obs, data = df, sims = 100) at testthat/test-f_stat.R:43
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34) ----------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ d, declaration = declaration, assignment = "d", sharp_hypothesis = 0,
data = table_2.2) at testthat/test-gg-in-text.R:34
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14) ---------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 50) at testthat/test-multi-arm.R:14
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 7. Error: Basic Two Arm Trial (@test-progress_bar.R#15) --------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100, progress_bar = TRUE) at testthat/test-progress_bar.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 8. Error: Studentize (@test-studentize.R#16) -------------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
studentize = TRUE, data = df, sims = 100) at testthat/test-studentize.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 9. Error: Basic Two Arm Trial (@test-two-arm.R#15) -------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100) at testthat/test-two-arm.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
== testthat results ===========================================================
OK: 11 SKIPPED: 0 FAILED: 9
1. Error: Basic Two Arm Trial (@test-blocked.R#16)
2. Error: Compare to ri (@test-compare-ri.R#43)
3. Error: main effect f test (@test-f_stat.R#14)
4. Error: interaction test under constant fx (@test-f_stat.R#43)
5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34)
6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14)
7. Error: Basic Two Arm Trial (@test-progress_bar.R#15)
8. Error: Studentize (@test-studentize.R#16)
9. Error: Basic Two Arm Trial (@test-two-arm.R#15)
Error: testthat unit tests failed
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64
Version: 0.1.1
Check: re-building of vignette outputs
Result: WARN
Error in re-building vignettes:
...
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Quitting from lines 42-57 (ri2_vignette.Rmd)
Error: processing vignette 'ri2_vignette.Rmd' failed with diagnostics:
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(ri2)
Loading required package: randomizr
Loading required package: estimatr
>
> test_check("ri2")
-- 1. Error: Basic Two Arm Trial (@test-blocked.R#16) -------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, sharp_hypothesis = 0, data = dat,
sims = 10) at testthat/test-blocked.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 2. Error: Compare to ri (@test-compare-ri.R#43) ----------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ Z, sharp_hypothesis = 0, declaration = declaration, data = data.frame(y,
Z)) at testthat/test-compare-ri.R:43
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 3. Error: main effect f test (@test-f_stat.R#14) ---------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ 1, model_2 = Y ~ Z, declaration = declaration, assignment = "Z",
sharp_hypothesis = 0, data = df, sims = 100) at testthat/test-f_stat.R:14
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 4. Error: interaction test under constant fx (@test-f_stat.R#43) -----------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(model_1 = Y ~ Z + X, model_2 = Y ~ Z + X + Z * X, declaration = declaration,
assignment = "Z", sharp_hypothesis = ate_obs, data = df, sims = 100) at testthat/test-f_stat.R:43
2: conduct_ri_f(model_1 = model_1, model_2 = model_2, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, IPW = IPW, IPW_weights = IPW_weights, sampling_weights = sampling_weights,
permutation_matrix = permutation_matrix, data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34) ----------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(y ~ d, declaration = declaration, assignment = "d", sharp_hypothesis = 0,
data = table_2.2) at testthat/test-gg-in-text.R:34
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14) ---------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 50) at testthat/test-multi-arm.R:14
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 7. Error: Basic Two Arm Trial (@test-progress_bar.R#15) --------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100, progress_bar = TRUE) at testthat/test-progress_bar.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 8. Error: Studentize (@test-studentize.R#16) -------------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
studentize = TRUE, data = df, sims = 100) at testthat/test-studentize.R:16
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
-- 9. Error: Basic Two Arm Trial (@test-two-arm.R#15) -------------------------
'tidy.lm_robust' is not an exported object from 'namespace:estimatr'
1: conduct_ri(formula = Y ~ Z, declaration = declaration, assignment = "Z", sharp_hypothesis = 0,
data = df, sims = 100) at testthat/test-two-arm.R:15
2: conduct_ri_ATE(formula = formula, assignment = assignment, declaration = declaration,
sharp_hypothesis = sharp_hypothesis, studentize = studentize, IPW = IPW, IPW_weights = IPW_weights,
sampling_weights = sampling_weights, permutation_matrix = permutation_matrix,
data = data, sims = sims, progress_bar = progress_bar)
3: estimatr::tidy.lm_robust
4: getExportedValue(pkg, name)
5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)),
call. = FALSE, domain = NA)
== testthat results ===========================================================
OK: 11 SKIPPED: 0 FAILED: 9
1. Error: Basic Two Arm Trial (@test-blocked.R#16)
2. Error: Compare to ri (@test-compare-ri.R#43)
3. Error: main effect f test (@test-f_stat.R#14)
4. Error: interaction test under constant fx (@test-f_stat.R#43)
5. Error: Basic Two Arm Trial (@test-gg-in-text.R#34)
6. Error: Basic Multi Arm Trial (@test-multi-arm.R#14)
7. Error: Basic Two Arm Trial (@test-progress_bar.R#15)
8. Error: Studentize (@test-studentize.R#16)
9. Error: Basic Two Arm Trial (@test-two-arm.R#15)
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64