- generate a warning that weights can be set,(when no weights are specified) and mention `set.seed` 1) To make users aware that set.seed most of the times needs to be set 2) To make users aware that weights can be used to optimize the solution.