density(x, weights = *) now warns if automatic bandwidth selection happens without using weights; new optional warnWbw may suppress the warning. Prompted by Christoph Dalitz' PR#18490 and its discussants.
This is part of R releases > 4.3.0 (since April 2023).
This causes annoying warnings in priorsense. The new option warnWbw is not very helpful as it causes extra argument warning in older R releases. So the warnings should be suppressed, or R version checked.
From https://developer.r-project.org/blosxom.cgi/R-devel/2023/03/23
This is part of R releases > 4.3.0 (since April 2023).
This causes annoying warnings in priorsense. The new option
warnWbw
is not very helpful as it causes extra argument warning in older R releases. So the warnings should be suppressed, or R version checked.