Running 'testthat.R' [239s/256s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(REndo)
  > library(Formula)
  > 
  > test_check("REndo")
  -- 1. Failure: Transformations are correct (@test_correctness_latentIV.R#8)  ---
  `... <- NULL` produced warnings.
  
  -- 2. Failure: Transformations are correct (@test_correctness_latentIV.R#12)  --
  `... <- NULL` produced warnings.
  
  -- 3. Failure: Transformations are correct (@test_correctness_latentIV.R#19)  --
  `... <- NULL` produced warnings.
  
  -- 4. Failure: Differently sorted data produces same results (@test_correctness_
  `res.orig <- latentIV(formula = y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 5. Failure: Differently sorted data produces same results (@test_correctness_
  `... <- NULL` produced warnings.
  
  -- 6. Failure: No newdata results in fitted values (@test_correctness_latentIV.R
  `lat.1 <- latentIV(y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 7. Failure: No newdata results in fitted values (@test_correctness_latentIV.R
  `lat.2 <- latentIV(y ~ P - 1, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 8. Failure: Same prediction data as for fitting results in fitted values (@te
  `lat.1 <- latentIV(y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 9. Failure: Same prediction data as for fitting results in fitted values (@te
  `lat.2 <- latentIV(y ~ P - 1, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 10. Failure: Correct structure of predictions (@test_correctness_latentIV.R#6
  `lat.1 <- latentIV(y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 11. Failure: Correct when using transformations in the formula (@test_correct
  `lat.1 <- latentIV(y ~ I((P + 10)/3), data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 12. Failure: Retrieve correct parameters (@test_correctness_latentIV.R#84)  -
  `res.liv <- latentIV(formula = y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 13. Failure: Allow wrong data type in irrelevant columns (@test_inputchecks_l
  `latentIV(...)` produced warnings.
  
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  -- 14. Failure: Produces output (@test_runability_copulacorrection.R#46)  ------
  `copulaCorrection(...)` produced unexpected warnings.
  Expected match: It is recommended to run 1000 or more bootstraps.
  Actual values:
  * It is recommended to run 1000 or more bootstraps.
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  -- 15. Failure: Start params work with non-numeric (@test_runability_copulacorre
  `copulaCorrection(...)` produced unexpected warnings.
  Expected match: It is recommended to run 1000 or more bootstraps.
  Actual values:
  * It is recommended to run 1000 or more bootstraps.
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  
  -- 16. Failure: start.params works with transformation (@test_runability_copulac
  `copulaCorrection(...)` produced unexpected warnings.
  Expected match: It is recommended to run 1000 or more bootstraps.
  Actual values:
  * It is recommended to run 1000 or more bootstraps.
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  
  -- 17. Failure: Correct for start.params swapped (@test_runability_copulacorrect
  `... <- NULL` produced unexpected warnings.
  Expected match: It is recommended to run 1000 or more bootstraps.
  Actual values:
  * It is recommended to run 1000 or more bootstraps.
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  
  -- 18. Failure: Correct for start.params swapped (@test_runability_copulacorrect
  `... <- NULL` produced unexpected warnings.
  Expected match: It is recommended to run 1000 or more bootstraps.
  Actual values:
  * It is recommended to run 1000 or more bootstraps.
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  
  -- 19. Failure: Works with intercept (@test_runability_latentIV.R#7)  ----------
  `latentIV(formula = y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 20. Failure: Works without intercept (@test_runability_latentIV.R#17)  ------
  `... <- NULL` produced warnings.
  
  -- 21. Failure: Works without intercept (@test_runability_latentIV.R#24)  ------
  `res.w.i <- latentIV(formula = y ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 22. Failure: Works with start.params given (@test_runability_latentIV.R#30)  
  `latentIV(...)` produced warnings.
  
  -- 23. Failure: Works with start.params and transformations (@test_runability_la
  `latentIV(...)` produced warnings.
  
  -- 24. Failure: Same results with start.params swapped (@test_runability_latentI
  `... <- NULL` produced warnings.
  
  -- 25. Failure: Same results with start.params swapped (@test_runability_latentI
  `... <- NULL` produced warnings.
  
  -- 26. Failure: Works with function in lhs (@test_runability_latentIV.R#51)  ---
  `latentIV(formula = I(y + 1) ~ P, data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 27. Failure: Works with all endo transformed (@test_runability_latentIV.R#55)
  `latentIV(formula = y ~ I(P/2), data = dataLatentIV, verbose = FALSE)` produced warnings.
  
  -- 28. Failure: Works with proper optimx.args (@test_runability_latentIV.R#59)  
  `latentIV(...)` produced warnings.
  
  -- 29. Failure: Works with proper optimx.args (@test_runability_latentIV.R#60)  
  `latentIV(...)` produced warnings.
  
  -- 30. Failure: Summary prints about SE unavailable (@test_runability_latentIV.R
  `... <- NULL` produced warnings.
  
  -- 31. Failure: (unknown) (@test_s3methods_copualcorrection.R#37)  -------------
  `... <- NULL` produced unexpected warnings.
  Expected match: It is recommended to run 1000 or more bootstraps.
  Actual values:
  * It is recommended to run 1000 or more bootstraps.
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  * the condition has length > 1 and only the first element will be used
  
  == testthat results  ===========================================================
  [ OK: 1990 | SKIPPED: 27 | WARNINGS: 4 | FAILED: 31 ]
  1. Failure: Transformations are correct (@test_correctness_latentIV.R#8) 
  2. Failure: Transformations are correct (@test_correctness_latentIV.R#12) 
  3. Failure: Transformations are correct (@test_correctness_latentIV.R#19) 
  4. Failure: Differently sorted data produces same results (@test_correctness_latentIV.R#36) 
  5. Failure: Differently sorted data produces same results (@test_correctness_latentIV.R#37) 
  6. Failure: No newdata results in fitted values (@test_correctness_latentIV.R#51) 
  7. Failure: No newdata results in fitted values (@test_correctness_latentIV.R#54) 
  8. Failure: Same prediction data as for fitting results in fitted values (@test_correctness_latentIV.R#59) 
  9. Failure: Same prediction data as for fitting results in fitted values (@test_correctness_latentIV.R#62) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted