head 1.12; access; symbols pkgsrc-2023Q4:1.11.0.6 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.4 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.2 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.10.0.14 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.12 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.10 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.8 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.6 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.4 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.2 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.9.0.16 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.14 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.12 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.10 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.8 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.4 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.6 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.2 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.7.0.8 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.6 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.4 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.2 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.6.0.16 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.14 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.12 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.10 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.6 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.4 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.2 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.5.0.36 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.34 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.32 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.30 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.28 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.26 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.24 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.22 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.20 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.18 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.16 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.14 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.12 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.10 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.8 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.6 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.4 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.2 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.4.0.20 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.18 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.16 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.14 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.12 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.10 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.8 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.6 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.4 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.3.0.8 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.6 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.18 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.16 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.14 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.12 pkgsrc-2008Q1:1.2.0.10 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.8 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.6 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.4 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.2 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.1.1.1.0.4 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.2 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.12 date 2024.01.26.14.07.11; author mef; state Exp; branches; next 1.11; commitid tRy4xS3tYRVDUXVE; 1.11 date 2023.06.11.05.59.30; author mef; state Exp; branches; next 1.10; commitid KrbqF1bz7aJyzusE; 1.10 date 2021.09.16.22.41.01; author mef; state Exp; branches; next 1.9; commitid sg98YxiQ7X4Use9D; 1.9 date 2019.08.08.19.53.50; author brook; state Exp; branches; next 1.8; commitid K2VPfA0XCw7xfgyB; 1.8 date 2019.07.31.19.41.56; author brook; state Exp; branches; next 1.7; commitid ahyD1wThDCl0uexB; 1.7 date 2018.07.28.14.40.48; author brook; state Exp; branches; next 1.6; commitid hIRYb3oU4xMfBULA; 1.6 date 2016.12.18.02.51.34; author wen; state Exp; branches; next 1.5; commitid pAS7YxRV9weuApyz; 1.5 date 2012.04.15.15.26.35; author brook; state Exp; branches; next 1.4; 1.4 date 2009.12.11.19.32.08; author adam; state Exp; branches; next 1.3; 1.3 date 2008.10.14.06.51.09; author markd; state Exp; branches; next 1.2; 1.2 date 2007.01.08.04.40.27; author rillig; state Exp; branches; next 1.1; 1.1 date 2006.07.02.13.05.53; author markd; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.07.02.13.05.53; author markd; state Exp; branches; next ; desc @@ 1.12 log @(math/R-gtools) Updated 3.9.4 to 3.9.5 gtools 3.9.5 - 2023-11-20 -------------------------- - make `checkRVersion()` robust to internet failure/CRAN outages @ text @# $NetBSD: Makefile,v 1.11 2023/06/11 05:59:30 mef Exp $ R_PKGNAME= gtools R_PKGVER= 3.9.5 MAINTAINER= pkgsrc-users@@NetBSD.org COMMENT= Various R programming tools LICENSE= gnu-gpl-v2 # Packages suggested but not available: 'gplots', 'SGP', 'taxize' TEST_DEPENDS+= R-car-[0-9]*:../../math/R-car TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi CHECK_WRKREF_SKIP+= lib/R/library/gtools/libs/gtools.so .include "../../math/R/Makefile.extension" .include "../../mk/bsd.pkg.mk" @ 1.11 log @(math/R-gtools) Updated 3.9.2 to 3.9.4 gtools 3.9.4 ------------------------- - correct `stars.pval` code/doc mismatch (GH #13) - remove spurious `browser()` call in `lastAdd` gtools 3.9.3 - 2022-07-08 ------------------------- - maintainer switch to Ben Bolker - removed `assignEdgewise`/`unByteCodeAssign` (uses CRAN-deprecated `unlockBindings()` call) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/09/16 22:41:01 mef Exp $ d4 1 a4 1 R_PKGVER= 3.9.4 d10 2 a11 2 # Packages suggested but not available: # 'gplots', 'rstudioapi', 'SGP', 'taxize' @ 1.10 log @(math/R-gtools) Updated 3.8.1 to 3.9.2 gtools 3.9.2 - 2021-06-03 ------------------------- Bug fixes: - Fix missing man page and export for `combinations` and `permutations`. Behind the scenes: - Fixed more spelling/typographical errors, mostly in `NEWS.md`. - Speed up `checkRversion` by removing checks for versions 2.x and 3.x. gtools 3.9.1 - 2021-06-01 ------------------------- Bug fixes: - Use valid HTTP request for example in `setTCPNoDelay` to prevent errors when running tests. Behind the scenes: - Fixed numerous spelling/typographical errors. - Update obsolete http URLs to https gtools 3.9.0 - 2021-05-31 ------------------------- New functions: - New `script_file` and `script_path` functions to obtain the directory or full path to the currently executing script. - New 'stat_mode` function to calculate the statistical mode (most frequently occurring value). - New `capwords` function to apply title capitalization rules to a character vector. - Move `baseOf` from `gplots` as requested by Steffen Möller. #2 New parameters: - Add `scientific` parameter to `mixedsort` and `mixedorder` to control whether numbers in scientific notation are recognized. Resolved #7. - Enhance `invalid` to detect `try-error` objects. #6 Bug fixes: - Add support for R version 4 to `checkRVersion`. Resolved #5. - Correct bug in `lastAdd` by explicitly checking for a `.Last` of mode function. Behind the scenes: - Modernize package code by using `roxygen2` for documentation and managing the NAMESPACE. - Modernize C function registration. - Replace http URLs with `https` and resolve broken links. - Add github actions to automated testing - Use pkgdown to generate HTML documentation. - Use `styler` package to standardize R code formatting. gtools 3.8.2 - 2020-03-23 ------------------------- Minor changes to support R 4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/08/08 19:53:50 brook Exp $ d4 1 a4 1 R_PKGVER= 3.9.2 d15 1 @ 1.9 log @Update all R packages to canonical form. The canonical form [1] of an R package Makefile includes the following: - The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as needed), and CATEGORIES. - HOMEPAGE is not present but defined in math/R/Makefile.extension to refer to the CRAN web page describing the package. Other relevant web pages are often linked from there via the URL field. This updates all current R packages to this form, which will make regular updates _much_ easier, especially using pkgtools/R2pkg. [1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/07/31 19:41:56 brook Exp $ d4 1 a4 2 R_PKGVER= 3.8.1 CATEGORIES= math d10 5 a14 1 USE_LANGUAGES= c @ 1.8 log @R-gtools: update to version 3.8.1. Update to the canonical form of an R package and fix the LICENSE field. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/07/28 14:40:48 brook Exp $ d3 3 a5 1 CATEGORIES= math R a7 1 HOMEPAGE= ${R_HOMEPAGE_BASE}/gtools/ a10 3 R_PKGNAME= gtools R_PKGVER= 3.8.1 @ 1.7 log @Remove MASTER_SITES= from individual R package Makefiles. Each R package should include ../../math/R/Makefile.extension, which also defines MASTER_SITES. Consequently, it is redundant for the individual packages to do the same. Package-specific definitions also prevent redefining MASTER_SITES in a single common place. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/12/18 02:51:34 wen Exp $ d3 1 a3 1 CATEGORIES= math d8 1 a8 1 LICENSE= gnu-lgpl-v2.1 d11 3 a13 1 R_PKGVER= 3.5.0 @ 1.6 log @Update to 3.5.0 Upstream changes: gtools 3.5.0 - 2015-04-28 ------------------------- New Functions: - New roman2int() functon to convert roman numerals to integers without the range restriction of utils::as.roman(). - New asc() and chr() functions to convert between ASCII codes and characters. (Based on the 'Data Debrief' blog entry for 2011-03-09 at http://datadebrief.blogspot.com/2011/03/ascii-code-table-in-r.html). - New unByteCode() and unByteCodeAssign() functions to convert a byte-code functon to an interpeted code function. - New assignEdgewise() function for making assignments into locked environments. (Used by unByteCodeAssign().) Enhacements: - mixedsort() and mixedorder() now have arguments 'decreasing', 'na.last', and 'blank.last' arguments to control sort ordering. - mixedsort() and mixedirdeR() now support Roman numerals via the arguments 'numeric.type', and 'roman.case'. (Request by David Winsemius, suggested code changes by Henrik Bengtsson.) - speed up mixedorder() (and hence mixedsort()) by moving suppressWarnings() outside of lapply loops. (Suggestion by Henrik Bengtsson.) - The 'q' argument to quantcut() now accept an integer indicating the number of equally spaced quantile groups to create. (Suggestion and patch submitted by Ryan C. Thompson.) Bug fixes: - Removed stray browser() call in smartbind(). - ddirichlet(x, alpha) was incorrectly returning NA when for any i, x[i]=0 and alpha[i]=1. (Bug report by John Nolan.) Other changes: - Correct typographical errors in package description. gtools 3.4.2 - 2015-04-06 ------------------------- New features: - New function loadedPackages() to display name, version, and path of loaded packages (package namespaces). - New function: na.replace() to replace missing values within a vector with a specified value.` Bug fixes: - Modify keywords() to work properly in R 3.4.X and later. gtools 3.4.1 - 2014-05-27 ------------------------- Bug fixes: - smartbind() now converts all non-atomic type columns (except factor) to type character instead of generating an opaque error message. Other changes: - the argument to ASCIIfy() is now named 'x' instead of 'string'. - minor formatting changes to ASCIIfy() man page. gtools 3.4.0 - 2014-04-14 ------------------------- New features: - New ASCIIfy() function to converts character vectors to ASCII representation by escaping them as \x00 or \u0000 codes. Contributed by Arni Magnusson. gtools 3.3.1 - 2014-03-01 ------------------------- Bug fixes: - 'mixedorder' (and hence 'mixedsort') not properly handling single-character strings between numbers, so that '1a2' was being handled as a single string rather than being properly handled as c('1', 'a', '2'). gtools 3.3.0 - 2014-02-11 ------------------------- New features: - Add the getDependencies() function to return a list of dependencies for the specified package(s). Includes arguments to control whether these dependencies should be constructed using information from locally installed packages ('installed', default is TRUE), avilable CRAN packages ('available', default is TRUE) and whether to include base ('base', default=FALSE) and recommended ('recommended', default is FALSE) packages. Bug fixes: - binsearch() was returning the wrong endpoint & value when the found value was at the upper endpoint. gtools 3.2.1 - 2014-01-13 ------------------------- Bug fixes: - Resolve circular dependency with gdata gtools 3.2.0 - 2014-01-11 ------------------------- New features: - The keywords() function now accepts a function or function name as an argument and will return the list of keywords associated with the named function. - New function stars.pval() which will generate p-value significance symbols ('***', '**', etc.) Bug fixes: - R/mixedsort.R: mixedorder() was failing to correctly handle numbers including decimals due to a faulty regular expression. Other changes: - capture() and sprint() are now defunct. gtools 3.1.1 - 2013-11-06 ------------------------- Bug fixes: - Fix problem with mixedorder/mixedsort when there is zero or one elements in the argument vector. gtools 3.1.0 - 2013-09-22 ------------------------- Major changes: - The function 'addLast()' (deprecated since gtools 3.0.0) is no longer available, and has been marked defunct. Bug fixes: - Modified 'mixedorder()' to use Use 'suppressWarnings() instead of 'options(warn=-1)'. This will avoid egregious warning messages when called from within a nested environment, such as when run from within 'knitr' gtools 3.0.0 - 2013-07-06 ------------------------- Major changes: - The function 'addLast()' has been deprecated because it directly manipulates the global environment, which is expressly prohibited by the CRAN policies. - A new function, 'lastAdd()' has been created to replace 'addLast()'. The name has been changed because the two functions require different syntax. 'addLast()' was used like this: byeWorld <- function() cat("\nGoodbye World!\n") addLast(byeWorld) The new 'lastAdd()' function is used like this: byeWorld <- function() cat("\nGoodbye World!\n") .Last <- lastAdd(byeWorld) Bug fixes: - Update checkRVersion() to work with R version 3.0.0 and later. Other changes: - Remove cross-reference to (obsolete?) moc package - The function 'assert()' (deprecated since gtools 2.5.0) is no longer available and has been marked defunct. gtools 2.7.1 - 2013-03-17 ------------------------- Bug fixes: - smartbind() was not properly handling factor columns when the first data frame did not include the relevant column. gtools 2.7.0 - 2012-06-19 ------------------------- New features: - smartbind() has a new 'sep' argument to allow specification of the character(s) used to separate components of constructed column names - smartbind() has a new 'verbose' argument to provide details on how coluumns are being processed Bug fixes: - smartbind() has been enhanced to improve handling of factor and ordered factor columns. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2012/04/15 15:26:35 brook Exp $ a3 1 MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} @ 1.5 log @Update to gtools v2.6.2, add LICENSE and regularize package files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2009/12/11 19:32:08 adam Exp $ d12 1 a12 1 R_PKGVER= 2.6.2 @ 1.4 log @Update to the latest version of the module along with R update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2008/10/14 06:51:09 markd Exp $ d9 1 d12 1 a12 1 R_PKGVER= 2.6.1 @ 1.3 log @Update R-gtools to 2.5.0 gtools 2.5.0 ------------ New features: - Add checkRVersion() function to determin if a newer version of R is available. - Deprecated assert() in favor of base::stopifnot Bug fixes: - Fix bug in binsearch() identified by 2.6.0 R CMD CHECK Other changes: - Improve text explanation of how defmacro() and strmacro() differ from function(). - Update definitions of odd() and even() to use modulus operator instead of division. gtools 2.4.0 ------------ - Add binsearch() function, previously in the genetics() package. gtools 2.3.1 ------------ - Add ask() function to prompt the user and collect a single response. gtools 2.3.0 ------------ - Update email address for Greg - Add new 'smartbind' function, which combines data frames efficiently, even if they have different column names. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.2 2007/01/08 04:40:27 rillig Exp $ # d11 1 a11 1 R_PKGVER= 2.5.0 @ 1.2 log @There is some debugging information in gtools.so. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2006/07/02 13:05:53 markd Exp $ d8 1 a8 1 HOMEPAGE= ${R_HOMEPAGE_BASE}/gtools.html d12 1 a12 1 R_PKGVER= 2.2.3 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d14 2 @ 1.1.1.1 log @Initial import of R-gtools 2.2.3 Various R programming tools @ text @@