Running ‘tinytest.R’ [101s/132s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > # Run tests in local environment
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   home <- length(unclass(packageVersion("pdp"))[[1]]) == 4
  +   tinytest::test_package("pdp", at_home = home)
  + }
  
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    0 tests    
  test_cats_argument.R..........    4 tests [0;32mOK[0m randomForest 4.7-1.2
  Type rfNews() to see new features/changes/bug fixes.
  
  test_cats_argument.R..........    5 tests [0;32mOK[0m [0;34m0.7s[0m
  
  test_exemplar.R...............    0 tests    
  test_exemplar.R...............    0 tests    
  test_exemplar.R...............    0 tests    
  test_exemplar.R...............    1 tests [0;32mOK[0m [0;36m36ms[0m
  
  test_get_training_data.R......    0 tests    
  Attaching package: 'ggplot2'
  
  The following object is masked from 'package:randomForest':
  
      margin
  
  
  test_get_training_data.R......    2 tests [0;32mOK[0m 
  test_get_training_data.R......    5 tests [0;32mOK[0m 
  test_get_training_data.R......    8 tests [0;32mOK[0m 
  Attaching package: 'ranger'
  
  The following object is masked from 'package:randomForest':
  
      importance
  
  
  test_get_training_data.R......   10 tests [0;32mOK[0m [0;34m6.1s[0m
  
  test_pkg_C50.R................    0 tests    
  test_pkg_C50.R................    4 tests [0;32mOK[0m [0;34m0.2s[0m
  
  test_pkg_MASS.R...............    0 tests    
  test_pkg_MASS.R...............    0 tests    
  test_pkg_MASS.R...............    8 tests [0;32mOK[0m [0;34m4.1s[0m
  
  test_pkg_e1071.R..............    0 tests    
  test_pkg_e1071.R..............    0 tests    
  test_pkg_e1071.R..............    0 tests    
  test_pkg_e1071.R..............    0 tests    
  Attaching package: 'e1071'
  
  The following object is masked from 'package:ggplot2':
  
      element
  
  
  test_pkg_e1071.R..............    8 tests [0;32mOK[0m [0;34m1.6s[0m
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  
  test_pkg_party.R..............   12 tests [0;32mOK[0m [0;34m1.9s[0m
  
  test_pkg_ranger.R.............    0 tests    
  test_pkg_ranger.R.............    0 tests    
  test_pkg_ranger.R.............    0 tests    [0;36m11ms[0m
  
  test_pkg_stats.R..............   10 tests [0;32mOK[0m [0;34m2.4s[0m
  
  test_pkg_xgboost.R............    0 tests    
  test_pkg_xgboost.R............    0 tests    
  test_pkg_xgboost.R............    0 tests    
  test_pkg_xgboost.R............    0 tests    
  test_pkg_xgboost.R............    0 tests    
  test_pkg_xgboost.R............    0 tests    Error in if (object$params$objective %in% c("reg:gamma", "reg:linear",  : 
    argument is of length zero
  Calls: <Anonymous> ... partial.default -> get_task -> get_task.xgb.Booster
  In addition: Warning messages:
  1: In partial.default(fit4, pred.var = "x.4", prob = TRUE, ice = TRUE,  :
    Centering may result in probabilities outside of [0, 1].
  2: glm.fit: algorithm did not converge 
  3: glm.fit: fitted probabilities numerically 0 or 1 occurred 
  4: In partial.default(fit2_glm, pred.var = "x.3", prob = TRUE, ice = TRUE,  :
    Centering may result in probabilities outside of [0, 1].
  5: In throw_err_or_depr_msg("Parameter(s) have been removed from this function: ",  :
    Parameter(s) have been removed from this function: params, save_period. This warning will become an error in a future version.
  6: In throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized),  :
    Passed unrecognized parameters: verbose. This warning will become an error in a future version.
  7: In throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '",  :
    Parameter 'data' has been renamed to 'x'. This warning will become an error in a future version.
  8: In throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '",  :
    Parameter 'label' has been renamed to 'y'. This warning will become an error in a future version.
  Execution halted