Calls of the macros Calloc
and Free
have been
replaced with calls of R_Calloc
and R_Free
,
respectively (see warnings of tests with STRICT_R_HEADERS
).
The weighted quantile (other than the median) as computed by
the C function wquant0
was incorrect for samples of size
n = 2 (if the data were sorted in descending order).
Added an _OPENMP
guard in the declaration of
default_no_threads
in wbacon
.
In previous versions, the summary
method for
objects of class wbaconlm
was implemented as a wrapper
function of stats::summary.lm
. But summary.lm
detected that it has been called for an object other than a
genuine lm
object and issued a warning. This warning
confused some users. Now we implemented a separate summary
method.
Fixed computation of regression leverages (for weighted
regression) in plot
method for objects of class
wbaconlm
.
In calls to BLAS and LAPACK, we now use the same new
macros that R
uses in its code (FCONE
,
FC_LEN_T
, and USE_FC_LEN_T
) since version 3.6.2.
This approach is recommended in Writing R Extensions, see
Chapter 6.6.1.
fixed variadic macro ##__VA_ARGS__ because it is not portable (clang complains)
fixed implicit type conversion of function 'med3' (only detected by clang on Apple M1), now int return type
OpenMP issue: 'omp_set_num_threads' is now guarded by a conditional compilation directive
OpenMP issue: removed '#pragma omp simd' directive in wbacon.c (line 480) because the optimizer was unable to perform the vectorization
Initial release