[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / R-bit

File: [cvs.NetBSD.org] / pkgsrc / devel / R-bit / Makefile (download)

Revision 1.2, Wed Jul 4 08:13:59 2018 UTC (4 years, 7 months ago) by wen
Branch: MAIN
Changes since 1.1: +2 -2 lines

Update to 1.1.14

Upstream changes:
CHANGES IN bit VERSION 1.1-14

BUG FIXES

    o bit[i] and bit[i]<-v now check for non-positive integers
      which prevents a segfault when bit[NA] or bit[NA]<-v



        CHANGES IN bit VERSION 1.1-13

USER VISIBLE CHANGES

    o logical NA is now mapped to bit FALSE as in ff booleans
    o extractor function '[.bit' with positive numeric subscripts
	  (integer, double, bitwhich) now behaves like '[.logical' and returns
	  NA for out-of-bound requests and no element for 0
    o extractor function '[[.bit' with positive numeric (integer, double,
      bitwhich) subscripts now behaves like '[[.logical' and throws an error
      for out-of-bound requests
    o extractor function '[.bit' with range index subscripts (ri)
      subscripts now behaves like '[[.bit' and throws an error
      for out-of-bound requests
    o assignment functions '[<-.bit' and '[[<-.bit' with positive numeric
      (integer, double, bitwhich) subscripts now behave like '[<-.logical' and
      '[[<-.logical' and silently increase vector length if necessary
    o assignment function '[<-.bit' with range index subscripts (ri) now
      behaves like '[[<-.bit' and silently increases vector length if necessary
    o rlepack() is now a generic with a method for class 'integer'
    o rleunpack() is now a generic with a method for class 'rlepack'
    o unique.rlepack() now gives correct results for unordered sequences
    o anyDuplicated.rlepack() now returns the position of the first
	  duplicate and gives correct results for unordered sequences

TUNING

    o The package can now compiled with 64bit words instead of 32bit words,
      since we only measured a minor speedup, we left 32bit as the default.

BUG FIXES

    o extractor and assignment functions now check for legal (positive)
      subscript bounds, hence illegally large subscripts or zero no longer
      cause memory violations

# $NetBSD: Makefile,v 1.2 2018/07/04 08:13:59 wen Exp $

CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_R_CRAN:=contrib/}

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://ff.r-forge.r-project.org/
COMMENT=	Class for vectors of 1-bit booleans
LICENSE=	gnu-gpl-v2

R_PKGNAME=	bit
R_PKGVER=	1.1-14

USE_LANGUAGES=	c

BUILDLINK_API_DEPENDS.R+=	R>=2.9.2
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"