Revisions of R-base
Detlef Steuer (dsteuer)
committed
(revision 101)
- CHANGES IN R 4.0.1: NEW FEATURES: * paste() and paste0() gain a new optional argument recycle0. When set to true, zero-length arguments are recycled leading to character(0) after the sep-concatenation, i.e., to the empty string "" if collapse is a string and to the zero-length value character(0) when collapse = NULL. A package whose code uses this should depend on R (>= 4.0.1). * The summary(<warnings>) method now maps the counts correctly to the warning messages. BUG FIXES: * aov(frml, ...) now also works where the formula deparses to more than 500 characters, thanks to a report and patch proposal by Jan Hauffa. * Fix a dozen places (code, examples) as Sys.setlocale() returns the new rather than the previous setting. * Fix for adding two complex grid units via sum(). Thanks to Gu Zuguang for the report and Thomas Lin Pedersen for the patch. * Fix parallel::mclapply(..., mc.preschedule=FALSE) to handle raw vector results correctly. PR#17779 * Computing the base value, i.e., 2, "everywhere", now uses FLT_RADIX, as the original machar code looped indefinitely on the ppc64 architecture for the longdouble case. * In R 4.0.0, sort.list(x) when is.object(x) was true, e.g., for x <- I(letters), was accidentally using method = "radix". Consequently, e.g., merge(<data.frame>) was much slower than previously; reported in PR#17794. * plot(y ~ x, ylab = quote(y[i])) now works, as e.g., for xlab; related to PR#10525. * parallel::detect.cores(all.tests = TRUE) tries a matching OS name
buildservice-autocommit
accepted
request 797070
from
Detlef Steuer (dsteuer)
(revision 100)
baserev update by copy to link target
Detlef Steuer (dsteuer)
committed
(revision 99)
- CHANGES IN 4.0.0: SIGNIFICANT USER-VISIBLE CHANGES: * Packages need to be (re-)installed under this version (4.0.0) of R. * matrix objects now also inherit from class "array", so e.g., class(diag(1)) is c("matrix", "array"). This invalidates code incorrectly assuming that class(matrix_obj)) has length one. S3 methods for class "array" are now dispatched for matrix objects. * There is a new syntax for specifying _raw_ character constants similar to the one used in C++: r"(...)" with ... any character sequence not containing the sequence )". This makes it easier to write strings that contain backslashes or both single and double quotes. For more details see ?Quotes. * R now uses a stringsAsFactors = FALSE default, and hence by default no longer converts strings to factors in calls to data.frame() and read.table(). A large number of packages relied on the previous behaviour and so have needed/will need updating. * The plot() S3 generic function is now in package base rather than package graphics, as it is reasonable to have methods that do not use the graphics package. The generic is currently re-exported from the graphics namespace to allow packages importing it from there to continue working, but this may change in future. Packages which define S4 generics for plot() should be re-installed and package code using such generics from other packages needs to ensure that they are imported rather than rely on their being looked for on the search path (as in a namespace, the base namespace has precedence over the search path). REFERENCE COUNTING:
buildservice-autocommit
accepted
request 780561
from
Detlef Steuer (dsteuer)
(revision 98)
baserev update by copy to link target
Detlef Steuer (dsteuer)
committed
(revision 97)
- CHANGES IN R 3.6.3: NEW FEATURES: * The included LAPACK has been updated to version 3.9.0 (for the included routines, just bug fixes). BUG FIXES: * Fixed a C level integer overflow in rhyper(); reported by Benjamin Tyner in PR#17694. * Uses of url(gzcon(.)) needing to extend buffer size have failed (with HTTP/2 servers), reported by G'abor Cs'ardi. * predict(loess(..), se=TRUE) now errors out (instead of seg.faulting etc) for large sample sizes, thanks to a report and patch by Benjamin Tyner in PR#17121. * tools:assertCondition(., "error") and hence assertError() no longer return errors twice (invisibly). * update(form, new) in the case of a long new formula sometimes wrongly eliminated the intercept from form, or (more rarely) added a garbage term (or seg.faulted !); the fix happened by simplifying the C-level logic of terms.formula(). Reported by Mathias Amb"uhl in PR#16326. * The error message from stopifnot(.., <error producing call>) again contains the full "stopifnot(.......)" call: Its attempted suppression did not work consistently. * On Windows, download.file(., , "wininet", headers=character()) would fail; reported with patch proposal by Kevin Ushey in PR#17710.
buildservice-autocommit
accepted
request 765989
from
Marco Varlese (mvarlese)
(revision 96)
baserev update by copy to link target
Marco Varlese (mvarlese)
accepted
request 765987
from
Dan Čermák (dancermak)
(revision 95)
Add comment explaining why %{_libdir}/R/doc must not be marked as %doc
Marco Varlese (mvarlese)
accepted
request 765896
from
Dan Čermák (dancermak)
(revision 94)
Don't mark %{_libdir}/R/doc as %doc
buildservice-autocommit
accepted
request 756062
from
Detlef Steuer (dsteuer)
(revision 93)
baserev update by copy to link target
Detlef Steuer (dsteuer)
committed
(revision 92)
- CHANGES IN R 3.6.2: NEW FEATURES: * runmed(x, *) gains a new option na.action determining _how_ to handle NaN or NA in x. * dotchart() gains new options ann, xaxt, frame.plot and log. INSTALLATION on a UNIX-ALIKE: * Detection of the C stack direction has been moved from run-time to configure: this is safer with LTO builds and allows the detection to be overridden - see file config.site. * Source-code changes enable installation on platforms using gcc -fno-common (the expected default for gcc 10.x). C-LEVEL FACILITIES: * installTrChar (which is nowadays is wrapped by installChar) is defined in Rinternals.h. (Neither are part of the API.) PACKAGE INSTALLATION: * Header Rconfig.h contains the value of FC_LEN_T deduced at installation which is used by the prototypes in headers R_ext/BLAS.h and R_ext/Lapack.h but to avoid extensive breakage this is only exposed when USE_FC_LEN_T is defined. If a package's C/C++ calls to BLAS/LAPACK allow for the 'hidden' arguments used by most Fortran compilers to pass the lengths of Fortran character arguments, define USE_FC_LEN_T and include Rconfig.h (possibly _via_ R.h) before including R_ext/BLAS.h or R_ext/Lapack.h. * A package with Fortran source code and perhaps C (but not C++) sources can request for its shared object/DLL to be linked by the Fortran compiler by including a line USE_FC_TO_LINK= in src/Makevars[.win] and using $(SHLIB_OPENMP_FFLAGS) as part of PKG_LIBS. The known reason for doing so is a package which uses Fortran
Detlef Steuer (dsteuer)
accepted
request 739298
from
Richard Brown (RBrownSUSE)
(revision 91)
Remove obsolete Groups tag (fate#326485)
buildservice-autocommit
accepted
request 727204
from
Detlef Steuer (dsteuer)
(revision 90)
baserev update by copy to link target
Detlef Steuer (dsteuer)
accepted
request 727202
from
John Vandenberg (jayvdb)
(revision 89)
Use %license
buildservice-autocommit
accepted
request 726998
from
Detlef Steuer (dsteuer)
(revision 88)
baserev update by copy to link target
Detlef Steuer (dsteuer)
accepted
request 726862
from
John Vandenberg (jayvdb)
(revision 87)
Fix summary of R-core and R-core-devel
buildservice-autocommit
accepted
request 713566
from
Detlef Steuer (dsteuer)
(revision 86)
baserev update by copy to link target
Detlef Steuer (dsteuer)
committed
(revision 85)
- CHANGES IN R 3.6.1: INSTALLATION on a UNIX-ALIKE: * The default detection of the shell variable libNN is overridden for derivatives of Debian Linux, some of which have started to have a /usr/lib64 directory. (E.g. Ubuntu 19.04.) As before, it can be specified in config.site. UTILITIES: * R CMD config knows the values of AR and RANLIB, often set for LTO builds. DEPRECATED AND DEFUNCT: * The use of a character vector with .Fortran() is formally deprecated and gives a non-portability warning. (It has long been strongly discouraged in 'Writing R Extensions'.) BUG FIXES: * On Windows, GUI package installation via menuInstallPkgs() works again, thanks to Len Weil's and Duncan Murdoch's PR#17556. * R CMD check on data() fixing PR#17558 thanks to Duncan Murdoch. * quasi(*, variance = list(..)) now works more efficiently, and should work in all cases fixing PR#17560. Further, quasi(var = mu(1-mu)) and quasi(var = "mu ^ 3") now work, and quasi(variance = "log(mu)") now gives a correct error message. * Creation of lazy loading database during package installation is again robust to Rprofile changing the current working directory (PR#17559). * boxplot(y ~ f, horizontal=TRUE) now produces correct x- and y-labels. * rbind.data.frame() allows to keep <NA> levels from factor columns (PR#17562) via new option factor.exclude. Additionally, it works in one more case with matrix-columns which had been reported on 2017-01-16 by Krzysztof Banas.
buildservice-autocommit
accepted
request 698133
from
Detlef Steuer (dsteuer)
(revision 84)
baserev update by copy to link target
Detlef Steuer (dsteuer)
committed
(revision 83)
- CHANGES IN R 3.6.0: SIGNIFICANT USER-VISIBLE CHANGES: * Serialization format version 3 becomes the default for serialization and saving of the workspace (save(), serialize(), saveRDS(), compiler::cmpfile()). Serialized data in format 3 cannot be read by versions of R prior to version 3.5.0. Serialization format version 2 is still supported and can be selected by version = 2 in the save/serialization functions. The default can be changed back for the whole R session by setting environment variables R_DEFAULT_SAVE_VERSION and R_DEFAULT_SERIALIZE_VERSION to 2. For maximal back-compatibility, files vignette.rds and partial.rdb generated by R CMD build are in serialization format version 2, and resave by default produces files in serialization format version 2 (unless the original is already in format version 3). * The default method for generating from a discrete uniform distribution (used in sample(), for instance) has been changed. This addresses the fact, pointed out by Ottoboni and Stark, that the previous method made sample() noticeably non-uniform on large populations. See PR#17494 for a discussion. The previous method can be requested using RNGkind() or RNGversion() if necessary for reproduction of old results. Thanks to Duncan Murdoch for contributing the patch and Gabe Becker for further assistance. The output of RNGkind() has been changed to also return the 'kind' used by sample(). NEW FEATURES: * Sys.setFileTime() has been vectorized so arguments path and time of length greater than one are now supported. * axis() gets new option gap.axis = NA for specifying a multiplication factor for the minimal "gap" (distance) between
buildservice-autocommit
accepted
request 683741
from
Detlef Steuer (dsteuer)
(revision 82)
baserev update by copy to link target
Displaying revisions 41 - 60 of 141