pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/R-lintr



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Sep 22 23:49:25 UTC 2024

Modified Files:
        pkgsrc/devel/R-lintr: Makefile distinfo

Log Message:
(devel/R-lintr) Updated 3.1.1 to 3.1.2

# lintr 3.1.2

## New and improved features

### Lint accuracy fixes: removing false positives

* `Unreachable_code_linter()` ignores reachable code in inline
  functions like `function(x) if (x > 2) stop() else x` (#2259,
  @MEO265).

* `unnecessary_lambda_linter()`
  + ignores extractions with explicit returns like `lapply(l, function(x) foo(x)$bar)` (#2258, @MichaelChirico).
  + ignores calls on the RHS of operators like `lapply(l, function(x) "a" %in% names(x))` (#2310, @MichaelChirico).

* `vector_logic_linter()` recognizes some cases where bitwise `&`/`|`
  are used correctly (#1453, @MichaelChirico).

* `expect_comparison_linter()` ignores faulty usage like
  `expect_true(x, y > z)` (#2083, @MichaelChirico). Note that `y > z`
  is being passed to the `info=` argument, so this is likely a
  mistake.

* `consecutive_assertion_linter()` ignores cases where a second
  assertion follows an intervening assignment with `=` (#2444,
  @MichaelChirico).

### Lint accuracy fixes: removing false negatives

* `missing_argument_linter()` catches all missing arguments in calls
  with several, e.g. `foo(,,)` gives 3 lints instead of 2 (#2399,
  @MichaelChirico).

* `duplicate_argument_linter()` no longer misses cases with duplicate
  arguments where a comment comes between the argument name and `=`
  (#2402, @MichaelChirico).

## Notes

* Fixed a test assuming a specific parser error message that recently
  changed in r-devel (#2527, @IndrajeetPatil).

* @MichaelChirico has taken over CRAN maintainer duties for the
  package. Many thanks to @jimhester for more than 10 years and 15
  releases wearing that hat!!


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

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

Modified files:

Index: pkgsrc/devel/R-lintr/Makefile
diff -u pkgsrc/devel/R-lintr/Makefile:1.5 pkgsrc/devel/R-lintr/Makefile:1.6
--- pkgsrc/devel/R-lintr/Makefile:1.5   Sun Jan 21 02:37:52 2024
+++ pkgsrc/devel/R-lintr/Makefile       Sun Sep 22 23:49:25 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2024/01/21 02:37:52 mef Exp $
+# $NetBSD: Makefile,v 1.6 2024/09/22 23:49:25 mef Exp $
 
 R_PKGNAME=     lintr
-R_PKGVER=      3.1.1
+R_PKGVER=      3.1.2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/R-lintr/distinfo
diff -u pkgsrc/devel/R-lintr/distinfo:1.6 pkgsrc/devel/R-lintr/distinfo:1.7
--- pkgsrc/devel/R-lintr/distinfo:1.6   Sun Jan 21 02:37:52 2024
+++ pkgsrc/devel/R-lintr/distinfo       Sun Sep 22 23:49:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2024/01/21 02:37:52 mef Exp $
+$NetBSD: distinfo,v 1.7 2024/09/22 23:49:25 mef Exp $
 
-BLAKE2s (R/lintr_3.1.1.tar.gz) = 95290d20cea92924f179cc38dc9735d09ce8dde8ea422fcd0a1c5ff3d7d6d275
-SHA512 (R/lintr_3.1.1.tar.gz) = 5a92337f8895a6431d5f44e505abcbeba3c6ae18fd78f4178285dea96de34e72dc334da8b34e4d32799760a47be4dbdedc6ebada9f35d47dde1a7ccccd4d3832
-Size (R/lintr_3.1.1.tar.gz) = 2424354 bytes
+BLAKE2s (R/lintr_3.1.2.tar.gz) = 125b4c96815a10626ff2a816ef898858fbeb9f74c21fb3144b86e62d2e80f529
+SHA512 (R/lintr_3.1.2.tar.gz) = 055ea0350ebab5474d81819a4cddf48cfc0957a7d5228aa346555dedd7a276bfe37a31555937dbed02ad0f25c992a61e774e5c8cd767eccbeadaabb668ab6184
+Size (R/lintr_3.1.2.tar.gz) = 2503379 bytes



Home | Main Index | Thread Index | Old Index