From 34a98b4b1baa476c6779bb565e1c79a3e4ddfb58 Mon Sep 17 00:00:00 2001 From: merliseclyde Date: Tue, 26 Nov 2024 08:24:31 -0500 Subject: [PATCH] comment out warning to avoid problems on CRAN until issue with SETLENGTH (Issue #82 and Issue #88 resolved) --- src/lm_sampleworep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lm_sampleworep.c b/src/lm_sampleworep.c index 90e832ba..da4d716d 100644 --- a/src/lm_sampleworep.c +++ b/src/lm_sampleworep.c @@ -224,7 +224,8 @@ extern SEXP sampleworep_new(SEXP Y, SEXP X, SEXP Rweights, SEXP Rprobinit, } if (m < k) { - // warning("too many models allocated; using SETLENGTH to resize\n"); // resize + // warning("allocated %d models but only %d sampled; using SETLENGTH to resize\n", k, m); + // resize // consider using force.heredity k = m;