pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/R-robustbase



Module Name:    pkgsrc
Committed By:   mef
Date:           Fri Aug 11 05:23:11 UTC 2023

Modified Files:
        pkgsrc/math/R-robustbase: Makefile distinfo

Log Message:
(math/R-robustness) Updated 0.95.1 to 0.99.0

CHANGES in robustbase VERSION 0.99-0 (2023-06-12, svn r928):

  NEW FEATURES:

         * In case it finds an _exact fit_, i.e., k > n/2 residuals are
           (practically) zero, 'lmrob.S()' now returns that, 'scale =
           0', and robustness weights 'weights(., "robustness")' which
           are either 0 or 1 quickly and more consistently.

           This is _not yet_ satisfactorily working for the "large n"
           case.

           **** *TODO*: Optionally (but off by default?? for back
           compatibility??), 'lmrob()' initialized by such an exact-fit
           estimator may use a (user-specified or automatic) scale s^ >
           0 to continue providing efficient SM / MM estimates.

         * 'lmrob.control()' gets class '"lmrobCtrl"' which can be
           'print()'ed and 'update()'d.

         * New tuning const 'zero.scale = 1e-10' instead of hardwired
           'EPS_ZERO' in 'lmrob.S()''s C code; additionally the exact
           fit / zero-residuals checking is finally y-scale
           equivariant, using 1/n ||y||_1 = 'mean(abs(y))'.

  BUG FIXES:

         * Fixed 'covMcd()': corrected the consistency correction
           factor for the reweighted estimate: was MCDCons(p,
           sum(w)/n), now is MCDCons(p, 0.975), see Croux and
           Haesbroeck (1999).

           Consequently, often 'covMcd()' and estimates based on it,
           such as 'BYlogreg()' or 'ltsReg()' are slightly changed.

         * registered 'residuals.lmrob.S' _and_ changed 'formals'
           compatible with generic to '(object, ...)'.

         * 'lmrob.S()' in C level 'refine_fast_s()' no longer modifies
           'beta_cand[]' which notably fixes a bug found in exact-fit
           examples previously resulting in 'coef() == 0' "results",
           also for 'lmrob()' which calls 'lmrob.S()' for its default
           initial estimate.

         * 'print(<lmrob.S>)' finally works again as intended (_not_
           printing a largish list); mostly by fixing internal
           'lmrob.control.minimal()'.

         * 'summary.lmrob(obj)' now also gets a 'weights' component
           from 'obj' if that is non-trivial; this may also correct
           'summary()' output in weighted cases.

         * Minor fixes in 'plot.lts()' related to par mfrow.

         * ltsReg() Help file changed - the note strongly advising NOT
           to use LTS regression removed.

  Misc:

         * argument 'mf' e.g., in 'lmrob.fit()' has been deprecated
           since 2017-12-09 and is defunct now.

         * 'lmrob()' tweaks, notably saying more for 'trace.lev >= 3'.

         * replaceed (almost) all 'Calloc()' by 'R_alloc()' in C code;
           e.g., prevents leakage from user interrupt.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/R-robustbase/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/R-robustbase/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/R-robustbase/Makefile
diff -u pkgsrc/math/R-robustbase/Makefile:1.4 pkgsrc/math/R-robustbase/Makefile:1.5
--- pkgsrc/math/R-robustbase/Makefile:1.4       Thu Jun  8 23:06:14 2023
+++ pkgsrc/math/R-robustbase/Makefile   Fri Aug 11 05:23:11 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2023/06/08 23:06:14 mef Exp $
+# $NetBSD: Makefile,v 1.5 2023/08/11 05:23:11 mef Exp $
 
 R_PKGNAME=     robustbase
-R_PKGVER=      0.95-1
+R_PKGVER=      0.99-0
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Basic robust statistics
@@ -10,9 +10,10 @@ LICENSE=     gnu-gpl-v2 OR gnu-gpl-v3
 DEPENDS+=      R-DEoptimR>=1.0.8:../../math/R-DEoptimR
 
 # Packages suggested but not available:
-#   'robust', 'fit.models', 'MPV', 'GGally',
-#   'RColorBrewer', 'reshape2', 'sfsmisc', 'catdata', 'doParallel',
-#   'foreach', 'skewt'
+#   'robust', 'fit.models', 'MPV', 'GGally', 'sfsmisc', 'catdata',
+#   'doParallel', 'skewt'
+
+TEST_DEPENDS+= R-foreach -[0-9]*:../../devel/R-foreach 
 TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
 TEST_DEPENDS+= R-xtable-[0-9]*:../../math/R-xtable
 

Index: pkgsrc/math/R-robustbase/distinfo
diff -u pkgsrc/math/R-robustbase/distinfo:1.6 pkgsrc/math/R-robustbase/distinfo:1.7
--- pkgsrc/math/R-robustbase/distinfo:1.6       Thu Jun  8 23:06:14 2023
+++ pkgsrc/math/R-robustbase/distinfo   Fri Aug 11 05:23:11 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2023/06/08 23:06:14 mef Exp $
+$NetBSD: distinfo,v 1.7 2023/08/11 05:23:11 mef Exp $
 
-BLAKE2s (R/robustbase_0.95-1.tar.gz) = 60103af124c3e8270a7d8a9de9db35775a92048b224e24fcdc56eca7150c0507
-SHA512 (R/robustbase_0.95-1.tar.gz) = 18e855f6cb7c08b9c1417df0b610f0d0029093d756f5bb6a472d94788651e4b450f6e4f000e02f0e029c6f4e5d23519368783c4c0b21f8e50ca33444113c4dc3
-Size (R/robustbase_0.95-1.tar.gz) = 2280387 bytes
+BLAKE2s (R/robustbase_0.99-0.tar.gz) = fbdfc23f4b020e62c7ac3d2d1a08f45b46254ef815124bf93c19ced112feed5c
+SHA512 (R/robustbase_0.99-0.tar.gz) = a272e497ca7c2f7ebcd13fbb0bf77a7ce47f13e7d80e75704b8c7bf55e97b9e868c355b0ae7998ad930573eb96e066f8fe7812d16b312c5e59e5e04bca5a76b3
+Size (R/robustbase_0.99-0.tar.gz) = 2291216 bytes



Home | Main Index | Thread Index | Old Index