'LazyData' is specified without a 'data' directory
Running examples in 'xtreg2way-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running 'testthat.R' [3s/4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  == Failed tests ================================================================
  -- Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ----------
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      x
   1. +-xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. \-xtreg2way:::xtreg2way.default(...)
   3.   \-xtreg2way::projdummies(iid, tid, w)
   4.     \-Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'Two-Way-Fixed-Effect-Model.Rmd' using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette 'Two-Way-Fixed-Effect-Model.Rmd' failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building 'Two-Way-Fixed-Effect-Model.Rmd'

SUMMARY: processing the following file failed:
  'Two-Way-Fixed-Effect-Model.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘xtreg2way-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ──────────
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      ▆
   1. ├─xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. └─xtreg2way:::xtreg2way.default(...)
   3.   └─xtreg2way::projdummies(iid, tid, w)
   4.     └─Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘Two-Way-Fixed-Effect-Model.Rmd’ using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette ‘Two-Way-Fixed-Effect-Model.Rmd’ failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building ‘Two-Way-Fixed-Effect-Model.Rmd’

SUMMARY: processing the following file failed:
  ‘Two-Way-Fixed-Effect-Model.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘xtreg2way-Ex.R’ failed
The error most likely occurred in:

> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ──────────
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      ▆
   1. ├─xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. └─xtreg2way:::xtreg2way.default(...)
   3.   └─xtreg2way::projdummies(iid, tid, w)
   4.     └─Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘Two-Way-Fixed-Effect-Model.Rmd’ using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette 'Two-Way-Fixed-Effect-Model.Rmd' failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building ‘Two-Way-Fixed-Effect-Model.Rmd’

SUMMARY: processing the following file failed:
  ‘Two-Way-Fixed-Effect-Model.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘xtreg2way-Ex.R’ failed
The error most likely occurred in:

> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running ‘testthat.R’ [4s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ──────────
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      ▆
   1. ├─xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. └─xtreg2way:::xtreg2way.default(...)
   3.   └─xtreg2way::projdummies(iid, tid, w)
   4.     └─Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building ‘Two-Way-Fixed-Effect-Model.Rmd’ using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette 'Two-Way-Fixed-Effect-Model.Rmd' failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building ‘Two-Way-Fixed-Effect-Model.Rmd’

SUMMARY: processing the following file failed:
  ‘Two-Way-Fixed-Effect-Model.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'xtreg2way-Ex.R' failed
The error most likely occurred in:

> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ──────────
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      ▆
   1. ├─xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. └─xtreg2way:::xtreg2way.default(...)
   3.   └─xtreg2way::projdummies(iid, tid, w)
   4.     └─Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'Two-Way-Fixed-Effect-Model.Rmd' using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette 'Two-Way-Fixed-Effect-Model.Rmd' failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building 'Two-Way-Fixed-Effect-Model.Rmd'

SUMMARY: processing the following file failed:
  'Two-Way-Fixed-Effect-Model.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘xtreg2way-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ──────────
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      ▆
   1. ├─xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. └─xtreg2way:::xtreg2way.default(...)
   3.   └─xtreg2way::projdummies(iid, tid, w)
   4.     └─Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘Two-Way-Fixed-Effect-Model.Rmd’ using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette ‘Two-Way-Fixed-Effect-Model.Rmd’ failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building ‘Two-Way-Fixed-Effect-Model.Rmd’

SUMMARY: processing the following file failed:
  ‘Two-Way-Fixed-Effect-Model.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘xtreg2way-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ──────────
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      ▆
   1. ├─xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. └─xtreg2way:::xtreg2way.default(...)
   3.   └─xtreg2way::projdummies(iid, tid, w)
   4.     └─Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘Two-Way-Fixed-Effect-Model.Rmd’ using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette ‘Two-Way-Fixed-Effect-Model.Rmd’ failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building ‘Two-Way-Fixed-Effect-Model.Rmd’

SUMMARY: processing the following file failed:
  ‘Two-Way-Fixed-Effect-Model.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Running examples in 'xtreg2way-Ex.R' failed
The error most likely occurred in:

> ### Name: avar
> ### Title: Asymptotic variance of Estimator
> ### Aliases: avar
> 
> ### ** Examples
> 
> hhid <- c("a","b","c","a","b","c" ,"a","b","c" ,"a","b","c" ,"a","b","c")
> tid <- c("1","1" ,"1" ,"2","2" ,"3","3","3" ,"4","4","5" ,"5","6","6" ,"6")
> w <- rep(1, 15)
> x1 <- rnorm(15, mean=50, sd=10)   
> x2 <- rnorm(15, mean=50, sd=10)
> y <- x1 + rnorm(15, mean=50, sd=10)
> 
> struc <- projdummies(hhid, tid, w)
Error in dims - 1L : non-numeric argument to binary operator
Calls: projdummies -> <Anonymous>
Execution halted
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(xtreg2way)
  > 
  > test_check("xtreg2way")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  == Failed tests ================================================================
  -- Error ('test_xtreg2way.R:18'): (code run outside of `test_that()`) ----------
  Error in `dims - 1L`: non-numeric argument to binary operator
  Backtrace:
      x
   1. +-xtreg2way::xtreg2way(...) at test_xtreg2way.R:18:0
   2. \-xtreg2way:::xtreg2way.default(...)
   3.   \-xtreg2way::projdummies(iid, tid, w)
   4.     \-Matrix::sparseMatrix(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
--- re-building 'Two-Way-Fixed-Effect-Model.Rmd' using rmarkdown
Quitting from lines 74-76 (Two-Way-Fixed-Effect-Model.Rmd) 
Error: processing vignette 'Two-Way-Fixed-Effect-Model.Rmd' failed with diagnostics:
non-numeric argument to binary operator
--- failed re-building 'Two-Way-Fixed-Effect-Model.Rmd'

SUMMARY: processing the following file failed:
  'Two-Way-Fixed-Effect-Model.Rmd'

Error: Vignette re-building failed.
Execution halted