Last updated on 2020-06-15 08:53:23 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.7.2 | 17.29 | 138.93 | 156.22 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.7.2 | 14.35 | 103.55 | 117.90 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.7.2 | 191.11 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.7.2 | 178.12 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.7.2 | 47.00 | 145.00 | 192.00 | ERROR | |
r-patched-linux-x86_64 | 0.7.2 | 18.45 | 132.18 | 150.63 | ERROR | |
r-patched-solaris-x86 | 0.7.2 | 256.70 | ERROR | |||
r-release-linux-x86_64 | 0.7.2 | 17.54 | 141.31 | 158.85 | ERROR | |
r-release-osx-x86_64 | 0.7.2 | OK | ||||
r-release-windows-ix86+x86_64 | 0.7.2 | 49.00 | 137.00 | 186.00 | ERROR | |
r-oldrel-osx-x86_64 | 0.7.2 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.7.2 | 39.00 | 118.00 | 157.00 | ERROR |
Version: 0.7.2
Check: examples
Result: ERROR
Running examples in 'panelr-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: are_varying
> ### Title: Check if variables are constant or variable over time.
> ### Aliases: are_varying
>
> ### ** Examples
>
>
> wages <- panel_data(WageData, id = id, wave = t)
Warning: The `add` argument of `group_by()` is deprecated as of dplyr 1.0.0.
Please use the `.add` argument instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
> wages %>% are_varying(occ, ind, fem, blk)
Error in if (get_wave(data) %in% dots) NULL else get_wave(data) :
argument is of length zero
Calls: %>% ... freduce -> withVisible -> <Anonymous> -> are_varying
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.7.2
Check: tests
Result: ERROR
Running 'testthat.R' [10s/11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
-- 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ---
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
-- 2. Error: widen_panel works (@test-utils.R#46) -----------------------------
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
-- 3. Error: long_panel works (basic case) (@test-utils.R#72) -----------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 6. Error: long_panel works (character periods) (@test-utils.R#146) ---------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 7. Error: long_panel works (beginning label) (@test-utils.R#171) -----------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 12. Error: (unknown) (@test-utils.R#292) -----------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 13. Error: (unknown) (@test_asym.R#12) -------------------------------------
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 14. Error: (unknown) (@test_asym_gee.R#12) ---------------------------------
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 15. Error: (unknown) (@test_fdm.R#12) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 16. Error: (unknown) (@test_wbgee.R#11) ------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 17. Error: (unknown) (@test_wbm.R#11) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
== testthat results ===========================================================
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.7.2
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building 'reshape.Rmd' using rmarkdown
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
Quitting from lines 52-67 (reshape.Rmd)
Error: processing vignette 'reshape.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'reshape.Rmd'
--- re-building 'wbm.Rmd' using rmarkdown
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
Quitting from lines 51-53 (wbm.Rmd)
Error: processing vignette 'wbm.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building 'wbm.Rmd'
SUMMARY: processing the following files failed:
'reshape.Rmd' 'wbm.Rmd'
Error: Vignette re-building failed.
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.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
── 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ───
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
── 2. Error: widen_panel works (@test-utils.R#46) ─────────────────────────────
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
── 3. Error: long_panel works (basic case) (@test-utils.R#72) ─────────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 6. Error: long_panel works (character periods) (@test-utils.R#146) ─────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 7. Error: long_panel works (beginning label) (@test-utils.R#171) ───────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 12. Error: (unknown) (@test-utils.R#292) ───────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 13. Error: (unknown) (@test_asym.R#12) ─────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 14. Error: (unknown) (@test_asym_gee.R#12) ─────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 15. Error: (unknown) (@test_fdm.R#12) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 16. Error: (unknown) (@test_wbgee.R#11) ────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 17. Error: (unknown) (@test_wbm.R#11) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.7.2
Check: Rd cross-references
Result: NOTE
Undeclared package ‘AER’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.7.2
Check: examples
Result: ERROR
Running examples in ‘panelr-Ex.R’ failed
The error most likely occurred in:
> ### Name: are_varying
> ### Title: Check if variables are constant or variable over time.
> ### Aliases: are_varying
>
> ### ** Examples
>
>
> wages <- panel_data(WageData, id = id, wave = t)
Warning: The `add` argument of `group_by()` is deprecated as of dplyr 1.0.0.
Please use the `.add` argument instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
> wages %>% are_varying(occ, ind, fem, blk)
Error in if (get_wave(data) %in% dots) NULL else get_wave(data) :
argument is of length zero
Calls: %>% ... freduce -> withVisible -> <Anonymous> -> are_varying
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.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
── 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ───
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
── 2. Error: widen_panel works (@test-utils.R#46) ─────────────────────────────
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
── 3. Error: long_panel works (basic case) (@test-utils.R#72) ─────────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 6. Error: long_panel works (character periods) (@test-utils.R#146) ─────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 7. Error: long_panel works (beginning label) (@test-utils.R#171) ───────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 12. Error: (unknown) (@test-utils.R#292) ───────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 13. Error: (unknown) (@test_asym.R#12) ─────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 14. Error: (unknown) (@test_asym_gee.R#12) ─────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 15. Error: (unknown) (@test_fdm.R#12) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 16. Error: (unknown) (@test_wbgee.R#11) ────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 17. Error: (unknown) (@test_wbm.R#11) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.7.2
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘reshape.Rmd’ using rmarkdown
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
Quitting from lines 52-67 (reshape.Rmd)
Error: processing vignette 'reshape.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘reshape.Rmd’
--- re-building ‘wbm.Rmd’ using rmarkdown
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
Quitting from lines 51-53 (wbm.Rmd)
Error: processing vignette 'wbm.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘wbm.Rmd’
SUMMARY: processing the following files failed:
‘reshape.Rmd’ ‘wbm.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
── 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ───
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
── 2. Error: widen_panel works (@test-utils.R#46) ─────────────────────────────
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
── 3. Error: long_panel works (basic case) (@test-utils.R#72) ─────────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 6. Error: long_panel works (character periods) (@test-utils.R#146) ─────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 7. Error: long_panel works (beginning label) (@test-utils.R#171) ───────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 12. Error: (unknown) (@test-utils.R#292) ───────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 13. Error: (unknown) (@test_asym.R#12) ─────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 14. Error: (unknown) (@test_asym_gee.R#12) ─────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 15. Error: (unknown) (@test_fdm.R#12) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 16. Error: (unknown) (@test_wbgee.R#11) ────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 17. Error: (unknown) (@test_wbm.R#11) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.7.2
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
-- 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ---
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
-- 2. Error: widen_panel works (@test-utils.R#46) -----------------------------
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
-- 3. Error: long_panel works (basic case) (@test-utils.R#72) -----------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 6. Error: long_panel works (character periods) (@test-utils.R#146) ---------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 7. Error: long_panel works (beginning label) (@test-utils.R#171) -----------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 12. Error: (unknown) (@test-utils.R#292) -----------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 13. Error: (unknown) (@test_asym.R#12) -------------------------------------
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 14. Error: (unknown) (@test_asym_gee.R#12) ---------------------------------
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 15. Error: (unknown) (@test_fdm.R#12) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 16. Error: (unknown) (@test_wbgee.R#11) ------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 17. Error: (unknown) (@test_wbm.R#11) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
== testthat results ===========================================================
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
── 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ───
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
── 2. Error: widen_panel works (@test-utils.R#46) ─────────────────────────────
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
── 3. Error: long_panel works (basic case) (@test-utils.R#72) ─────────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 6. Error: long_panel works (character periods) (@test-utils.R#146) ─────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 7. Error: long_panel works (beginning label) (@test-utils.R#171) ───────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 12. Error: (unknown) (@test-utils.R#292) ───────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 13. Error: (unknown) (@test_asym.R#12) ─────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 14. Error: (unknown) (@test_asym_gee.R#12) ─────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 15. Error: (unknown) (@test_fdm.R#12) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 16. Error: (unknown) (@test_wbgee.R#11) ────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 17. Error: (unknown) (@test_wbm.R#11) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
── 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ───
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
── 2. Error: widen_panel works (@test-utils.R#46) ─────────────────────────────
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
── 3. Error: long_panel works (basic case) (@test-utils.R#72) ─────────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 6. Error: long_panel works (character periods) (@test-utils.R#146) ─────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 7. Error: long_panel works (beginning label) (@test-utils.R#171) ───────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 12. Error: (unknown) (@test-utils.R#292) ───────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 13. Error: (unknown) (@test_asym.R#12) ─────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 14. Error: (unknown) (@test_asym_gee.R#12) ─────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 15. Error: (unknown) (@test_fdm.R#12) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 16. Error: (unknown) (@test_wbgee.R#11) ────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 17. Error: (unknown) (@test_wbm.R#11) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.7.2
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘reshape.Rmd’ using rmarkdown
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.
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
Quitting from lines 52-67 (reshape.Rmd)
Error: processing vignette 'reshape.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘reshape.Rmd’
--- re-building ‘wbm.Rmd’ using rmarkdown
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.
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
Quitting from lines 51-53 (wbm.Rmd)
Error: processing vignette 'wbm.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘wbm.Rmd’
SUMMARY: processing the following files failed:
‘reshape.Rmd’ ‘wbm.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.7.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
── 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ───
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
── 2. Error: widen_panel works (@test-utils.R#46) ─────────────────────────────
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
── 3. Error: long_panel works (basic case) (@test-utils.R#72) ─────────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ────────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 6. Error: long_panel works (character periods) (@test-utils.R#146) ─────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 7. Error: long_panel works (beginning label) (@test-utils.R#171) ───────────
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
── 12. Error: (unknown) (@test-utils.R#292) ───────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 13. Error: (unknown) (@test_asym.R#12) ─────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 14. Error: (unknown) (@test_asym_gee.R#12) ─────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 15. Error: (unknown) (@test_fdm.R#12) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 16. Error: (unknown) (@test_wbgee.R#11) ────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
── 17. Error: (unknown) (@test_wbm.R#11) ──────────────────────────────────────
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.7.2
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
-- 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ---
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
-- 2. Error: widen_panel works (@test-utils.R#46) -----------------------------
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
-- 3. Error: long_panel works (basic case) (@test-utils.R#72) -----------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 6. Error: long_panel works (character periods) (@test-utils.R#146) ---------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 7. Error: long_panel works (beginning label) (@test-utils.R#171) -----------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 12. Error: (unknown) (@test-utils.R#292) -----------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 13. Error: (unknown) (@test_asym.R#12) -------------------------------------
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 14. Error: (unknown) (@test_asym_gee.R#12) ---------------------------------
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 15. Error: (unknown) (@test_fdm.R#12) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 16. Error: (unknown) (@test_wbgee.R#11) ------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 17. Error: (unknown) (@test_wbm.R#11) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
== testthat results ===========================================================
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.7.2
Check: tests
Result: ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The following object is masked from 'package:stats':
filter
>
> test_check("panelr")
-- 1. Failure: dplyr functions return panel_data objects (@test-utils.R#29) ---
select(w, lwage) inherits from `grouped_df/tbl_df/tbl/data.frame` not `panel_data`.
-- 2. Error: widen_panel works (@test-utils.R#46) -----------------------------
argument is of length zero
Backtrace:
1. testthat::expect_s3_class(widen_panel(w), "data.frame")
4. panelr::widen_panel(w)
-- 3. Error: long_panel works (basic case) (@test-utils.R#72) -----------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 4. Error: long_panel works (unbalanced data) (@test-utils.R#96) ------------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 1, end = 3)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = 2, end = 4)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 6. Error: long_panel works (character periods) (@test-utils.R#146) ---------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(w, prefix = "_W", begin = "A", end = "C")
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 7. Error: long_panel works (beginning label) (@test-utils.R#171) -----------
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 8. Error: long_panel works (beginning label/character periods) (@test-utils.R
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 9. Error: long_panel works (prefix and suffix/character periods) (@test-utils
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 10. Error: long_panel works (beginning/no separators/character periods) (@tes
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 11. Error: long_panel works (redundant match in varname, ambiguous waves) (@t
argument is of length zero
Backtrace:
1. testthat::expect_equal(...)
4. panelr::long_panel(...)
5. panelr::are_varying(tmp_pd, !!!syms(v.names))
-- 12. Error: (unknown) (@test-utils.R#292) -----------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(lwage ~ union, data = w, pvals = FALSE)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 13. Error: (unknown) (@test_asym.R#12) -------------------------------------
argument is of length zero
Backtrace:
1. panelr::asym(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 14. Error: (unknown) (@test_asym_gee.R#12) ---------------------------------
argument is of length zero
Backtrace:
1. panelr::asym_gee(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 15. Error: (unknown) (@test_fdm.R#12) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::fdm(wks ~ union + lwage, data = wages)
2. panelr:::diff_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 16. Error: (unknown) (@test_wbgee.R#11) ------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbgee(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
-- 17. Error: (unknown) (@test_wbm.R#11) --------------------------------------
argument is of length zero
Backtrace:
1. panelr::wbm(wks ~ union + lwage | blk, data = wages)
2. panelr:::wb_prepare_data(...)
3. panelr:::wb_formula_parser(formula, dv, data)
4. panelr::are_varying(data, !!sym(var))
== testthat results ===========================================================
[ OK: 22 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 17 ]
1. Failure: dplyr functions return panel_data objects (@test-utils.R#29)
2. Error: widen_panel works (@test-utils.R#46)
3. Error: long_panel works (basic case) (@test-utils.R#72)
4. Error: long_panel works (unbalanced data) (@test-utils.R#96)
5. Error: long_panel works (unbalanced data, numeric waves not begin w/ 1) (@test-utils.R#120)
6. Error: long_panel works (character periods) (@test-utils.R#146)
7. Error: long_panel works (beginning label) (@test-utils.R#171)
8. Error: long_panel works (beginning label/character periods) (@test-utils.R#198)
9. Error: long_panel works (prefix and suffix/character periods) (@test-utils.R#225)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64