./math/R, Statistical language for data analysis and graphics

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.4.2nb4, Package name: R-4.4.2nb4, Maintainer: pkgsrc-users

R is a language which bears a passing resemblance to the S language
developed at AT&T Bell Laboratories. It provides support for a
variety of statistical and graphical analyses. R is a true
computer language which contains a number of control-flow
constructions for iteration and alternation. It allows users to
add additional functionality by defining new functions. On
platforms which support the dlopen (3) interface, Fortran and C
code can be linked and called at run time.

R is very close to S in both syntax and semantics, but is not identical.
Whether this is a bug or feature is an open question.


Required to run:
[converters/libiconv] [www/curl] [graphics/tiff] [graphics/png] [graphics/cairo] [graphics/jpeg] [lang/perl5] [math/lapack] [math/blas] [devel/glib2] [devel/pango] [devel/gettext-lib] [devel/pcre] [devel/readline] [x11/tk] [lang/gcc7]

Required to build:
[pkgtools/x11-links] [x11/xcb-proto] [devel/libtool-fortran] [pkgtools/cwrappers] [x11/xorgproto]

Master sites: (Expand)

Filesize: 36701.938 KB

Version history: (Expand)


CVS history: (Expand)


   2025-03-02 12:38:51 by Makoto Fujiwara | Files touched by this commit (4)
Log message:
(math/R) revert to 4.4.2, newone will be put on wip
   2025-03-02 11:26:38 by Makoto Fujiwara | Files touched by this commit (4)
Log message:
(math/R) Updated 4.4.2 to 4.4.3

CHANGES IN R 4.4.3:

  INSTALLATION:

         * R can be installed using C23 (for example with '-std=gnu23'
           or '-std=gnu2x') with recent compilers including 'gcc'
           12-14, Apple 'clang' 15-16, LLVM 'clang' 17-20 and Intel
           'icx' 2024.2.

           It can be installed with the upcoming (at the time of
           writing) 'gcc' 15, which defaults to C23.

  C-LEVEL FACILITIES:

         * The functions 'R_strtod' and 'R_atof' now allow hexadecimal
           constants without an exponent, for compatibility with their
           C99 versions (PR#18805).

  UTILITIES:

         * 'R CMD build' and 'R CMD check' now allow reference output
           for demo scripts ('demo/<demo>.Rout.save' files) to be
           shipped with the package, as proposed by Torsten Hothorn in
           PR#18816.

  BUG FIXES:

         * 'kappa(A, exact=TRUE)' for singular 'A' returns 'Inf' more
           generally, fixing PR#18817 reported by Mikael Jagan.

         * Fixed URLs of the sun spots ('sunspot.month' etc) data sets
           and mention future changes due to recalibration.

         * The parser now accepts hexadecimal constants with a decimal
           point without an exponent (taken as 'p0') as documented in
           '?NumericConstants' (PR#18819).

         * 'rbind()' now works correctly when inputs include a raw
           vector and a logical, integer or double vector - previously
           the inclusion of the latter was garbled.

         * 'smooth.spline()' checks validity of its arguments
           'df.offset' and 'penalty': it could segfault if they were
           'NULL'.

         * 'isGeneric(<primitive>, fdef=*, getName=TRUE)' now also
           returns the name instead of just 'TRUE', fixing PR#18829
           reported by Mikael Jagan.

         * 'isGeneric(fdef = print)' now works, fixing PR#18369 thanks
           to Mikael Jagan.

         * 'sort(x, method = "qsort")' made illegal accesses when 'x'
           has length 0.

         * 'dir.create()' is protected against being passed an empty
           string as its 'path' argument.

         * Silent integer overflow could occur in the 'exact'
           computations for 'fisher.test()' for unrealistic inputs:
           this is now an error.

         * Some invalid C-level memory accesses are avoided for
           'loglin(, margin = NULL)'.

           'loglin(, param = TRUE)' no longer gives an error in corner
           cases such as a one-dimensional input.

         * 'dev.capabilities() $ events' now reports '"Idle"' if the
           device provides it, fixing PR#18836, thanks to Trevor Davis.

         * 'arima(.., seasonal = <wrong-vector>)' correctly errors now,
           ditto for 'arima0()', thanks to Norbert Kuder's report on
           the R-devel list.

         * 'binomial(<link>)$linkinv(eta)' and '.. $mu.eta(eta)' now
           also work for '"logit"' link when 'is.integer(eta)'.

         * 'as.roman(x)' now should work platform independently, also
           for, e.g., 'x = "IIIII"' (= V) and 'x = "IIIIII"' \ 
(= VI).

         * 'R CMD Rd2pdf' works again on an installed package directory
           containing LaTeX help (from option '--latex'), thanks to a
           report by Peter Ruckdeschel.
   2025-01-21 16:09:05 by Thomas Klausner | Files touched by this commit (1)
Log message:
R: move API depends line closer to the corresponding buildlink3.mk
   2025-01-21 15:48:08 by Havard Eidnes | Files touched by this commit (1)
Log message:
math/R: supply custom LDFLAGS, so that libR.so is picked up.

Resolves build problem on NetBSD/amd64 (and probably many more).
Thanks to wiz@ for the fix, ref. tech-pkg@.
   2025-01-20 22:26:02 by Havard Eidnes | Files touched by this commit (4)
Log message:
math/R: on NetBSD, disable the ntohl / htonl dance.

These are already declared at the point in the code it's used,
and on macppc it causes build failure, and probably also on other
big-endian targets.

There still appears to be rpath issues, libR.so is installed in
${PREFIX}/lib/R/lib/, but that directory is not in rpath of other
libs or executables, so this does not install, at least not on
macppc at the moment.

Bump PKGREVISION.
   2025-01-17 23:12:09 by Brook Milligan | Files touched by this commit (2)
Log message:
math/R: fix rpath flag in Makeconf

The R package installs a Makefile fragment, Makeconf, which includes
all the variable definitions required for R packages to compile
external programs.  The variable LIBR0, defined by the configure
script, is inserted into Makeconf and contains the linker directory
search and rpath arguments.  However, this variable passes the rpath
directory to the linker with -Wl,-R, which fails on Darwin.  Instead,
use ${COMPILER_RPATH_FLAG}, which is set correctly for each platform.

While here, make the paths for -rpath and -L the same.
   2024-12-27 09:21:09 by Thomas Klausner | Files touched by this commit (1055)
Log message:
*: recursive bump for pango requiring fontconfig 2.15
   2024-11-22 16:28:52 by Jonathan Perkin | Files touched by this commit (1)
Log message:
R: Ensure all "-" are converted to "." in PKGVERSION.

math/R-robustbase is apparently the first package to use multiple "-" \ 
in its
R_PKGVER, resulting in 0.99-4-1 being parsed as version "1", and breaking a
bunch of DEPENDS matches.  Hopefully this fixes bulk builds without causing
any regressions.