Error(s) in re-building vignettes:
--- re-building 'debiasing-vignette.Rmd' using rmarkdown

Quitting from debiasing-vignette.Rmd:55-57 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `task_set_roles()`:
! Assertion on 'roles' failed: Must be a subset of {'feature','target','name','order','stratum','group','offset','weights_learner','weights_measure','pta'}, but has additional elements {'weight'}.
This happened PipeOp reweighing_wts's $train()
---
Backtrace:
     ▆
  1. ├─p1$train(list(task))
  2. │ └─mlr3pipelines:::.__PipeOp__train(...)
  3. │   ├─base::withCallingHandlers(...)
  4. │   └─private$.train(input)
  5. │     └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...)
  6. │       └─private$.train_task(intask)
  7. │         └─mlr3fairness:::.__PipeOpReweighingWeights__.train_task(...)
  8. │           └─task$set_col_roles(weightcolname, "weight")
  9. │             └─mlr3:::.__Task__set_col_roles(...)
 10. │               └─mlr3:::task_set_roles(...)
 11. │                 └─checkmate::assert_subset(roles, names(li))
 12. │                   └─checkmate::makeAssertion(x, res, .var.name, add)
 13. │                     └─checkmate:::mstop(...)
 14. │                       └─base::stop(simpleError(sprintf(msg, ...), call.))
 15. └─mlr3pipelines (local) `<fn>`(`<smplErrr>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'debiasing-vignette.Rmd' failed with diagnostics:
Assertion on 'roles' failed: Must be a subset of {'feature','target','name','order','stratum','group','offset','weights_learner','weights_measure','pta'}, but has additional elements {'weight'}.
This happened PipeOp reweighing_wts's $train()
--- failed re-building 'debiasing-vignette.Rmd'

--- re-building 'measures-vignette.Rmd' using rmarkdown

Quitting from measures-vignette.Rmd:88-90 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! unused argument (weights = NULL)
---
Backtrace:
     ▆
  1. └─prd$score(msr("fairness.tpr"), task = test)
  2.   └─mlr3:::.__Prediction__score(...)
  3.     └─mlr3misc::map_dbl(...)
  4.       └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
  5.         └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
  6.           └─mlr3 (local) FUN(X[[i]], ...)
  7.             └─m$score(prediction = self, task = task, learner = learner, train_set = train_set)
  8.               └─mlr3:::.__Measure__score(...)
  9.                 └─mlr3:::score_single_measure(self, task, learner, train_set, prediction)
 10.                   └─get_private(measure)$.score(...)
 11.                     └─mlr3fairness:::.__MeasureFairness__.score(...)
 12.                       └─mlr3fairness:::score_groupwise(...)
 13.                         └─mlr3misc::map_dbl(...)
 14.                           └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
 15.                             └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
 16.                               └─mlr3fairness (local) FUN(X[[i]], ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'measures-vignette.Rmd' failed with diagnostics:
unused argument (weights = NULL)
--- failed re-building 'measures-vignette.Rmd'

--- re-building 'reports-vignette.Rmd' using rmarkdown

Quitting from reports-vignette.Rmd:69-75 [build_fairness_example_for_vignette]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! unused argument (weights = NULL)
---
Backtrace:
     ▆
  1. ├─... %>% kable_paper("hover", full_width = F)
  2. ├─kableExtra::kable_paper(., "hover", full_width = F)
  3. │ └─kableExtra:::kable_light(...)
  4. │   └─kableExtra::kable_styling(...)
  5. ├─kableExtra::kbl(., col.names = c("value"))
  6. │ └─knitr::kable(...)
  7. └─resample_result$aggregate(fair_metrics)
  8.   └─mlr3:::.__ResampleResult__aggregate(...)
  9.     └─mlr3:::resample_result_aggregate(self, measures)
 10.       ├─... %??% set_names(numeric(), character())
 11.       ├─base::unlist(...)
 12.       └─mlr3misc::map(...)
 13.         └─base::lapply(.x, .f, ...)
 14.           └─mlr3 (local) FUN(X[[i]], ...)
 15.             └─m$aggregate(rr)
 16.               └─mlr3:::.__Measure__aggregate(...)
 17.                 └─mlr3:::score_measures(...)
 18.                   └─mlr3misc::pmap_dbl(...)
 19.                     └─mlr3misc:::mapply_list(.f, .x, list(...))
 20.                       └─base::.mapply(.f, .dots, .args)
 21.                         └─mlr3 (local) `<fn>`(...)
 22.                           └─mlr3:::score_single_measure(...)
 23.                             └─get_private(measure)$.score(...)
 24.                               └─mlr3fairness:::.__MeasureFairness__.score(...)
 25.                                 └─mlr3fairness:::score_groupwise(...)
 26.                                   └─mlr3misc::map_dbl(...)
 27.                                     └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
 28.                                       └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
 29.                                         └─mlr3fairness (local) FUN(X[[i]], ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'reports-vignette.Rmd' failed with diagnostics:
unused argument (weights = NULL)
--- failed re-building 'reports-vignette.Rmd'

--- re-building 'visualization-vignette.Rmd' using rmarkdown

Quitting from visualization-vignette.Rmd:88-90 [unnamed-chunk-8]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! unused argument (weights = NULL)
---
Backtrace:
     ▆
  1. ├─mlr3fairness::fairness_accuracy_tradeoff(bmr, msr("fairness.fpr"))
  2. └─mlr3fairness:::fairness_accuracy_tradeoff.BenchmarkResult(...)
  3.   └─object$aggregate(list(acc_measure, fairness_measure))
  4.     └─mlr3:::.__BenchmarkResult__aggregate(...)
  5.       └─mlr3misc::map_dtr(...)
  6.         ├─data.table::rbindlist(...)
  7.         ├─base::unname(map(.x, .f, ...))
  8.         └─mlr3misc::map(.x, .f, ...)
  9.           └─base::lapply(.x, .f, ...)
 10.             └─mlr3 (local) FUN(X[[i]], ...)
 11.               ├─base::as.list(resample_result_aggregate(rr, measures))
 12.               └─mlr3:::resample_result_aggregate(rr, measures)
 13.                 ├─... %??% set_names(numeric(), character())
 14.                 ├─base::unlist(...)
 15.                 └─mlr3misc::map(...)
 16.                   └─base::lapply(.x, .f, ...)
 17.                     └─mlr3 (local) FUN(X[[i]], ...)
 18.                       └─m$aggregate(rr)
 19.                         └─mlr3:::.__Measure__aggregate(...)
 20.                           └─mlr3:::score_measures(...)
 21.                             └─mlr3misc::pmap_dbl(...)
 22.                               └─mlr3misc:::mapply_list(.f, .x, list(...))
 23.                                 └─base::.mapply(.f, .dots, .args)
 24.                                   └─mlr3 (local) `<fn>`(...)
 25.                                     └─mlr3:::score_single_measure(...)
 26.                                       └─get_private(measure)$.score(...)
 27.                                         └─mlr3fairness:::.__MeasureFairness__.score(...)
 28.                                           └─mlr3fairness:::score_groupwise(...)
 29.                                             └─mlr3misc::map_dbl(...)
 30.                                               └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
 31.                                                 └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
 32.                                                   └─mlr3fairness (local) FUN(X[[i]], ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'visualization-vignette.Rmd' failed with diagnostics:
unused argument (weights = NULL)
--- failed re-building 'visualization-vignette.Rmd'

SUMMARY: processing the following files failed:
  'debiasing-vignette.Rmd' 'measures-vignette.Rmd'
  'reports-vignette.Rmd' 'visualization-vignette.Rmd'

Error: Vignette re-building failed.
Execution halted