checkRVersion()
robust to internet failure/CRAN outagesstars.pval
code/doc mismatch (GH #13)browser()
call in lastAdd
assignEdgewise
/unByteCodeAssign
(uses CRAN-deprecated unlockBindings()
call)Bug fixes:
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.
Bug fixes:
setTCPNoDelay
to prevent
errors when running tests.Behind the scenes:
Fixed numerous spelling/typographical errors.
Update obsolete http URLs to https
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.
Minor changes to support R 4.0
Behind the scenes:
New functions:
Behind the scenes:
New functions:
Enhancements:
Add 'con' argument to ask() to allow specification of the connection to query for input. For use under RStudio, use ask(..., con=file('stdin')).
R/na.replace.R, man/na.replace.Rd: na.replace() now accepts a function to provide the replacement value.
smartbind() has a new argument 'list' to pass a list of data frames, /instead of/in addition to/ data frames as arguments.
Internal changes to bring code up to current CRAN guidelines.
Bug Fixes:
smartbind() now works properly with empty column names
Correct error in smartbind() when column types don't match.
Fix bug in smartbind's handling of factor levels.
Improve assignment of default names in smartbind().
loadedPackages() to return data silently so that the results don't get printed twice.
New Functions:
New roman2int() function 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 function to an interpreted code function.
New assignEdgewise() function for making assignments into locked environments. (Used by unByteCodeAssign().)
Enhancements:
mixedsort() and mixedorder() now have arguments 'decreasing', 'na.last', and 'blank.last' arguments to control sort ordering.
mixedsort() and mixedorder() 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:
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:
Bug fixes:
Other changes:
the argument to ASCIIfy() is now named 'x' instead of 'string'.
minor formatting changes to ASCIIfy() man page.
New features:
Bug fixes:
New features:
Bug fixes:
Bug fixes:
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:
Other changes:
Bug fixes:
Major changes:
Bug fixes:
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:
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.
Bug fixes:
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 columns are being processed
Bug fixes:
New features:
New features:
Add newVersionAvailable() function to compare running and latest available R versions.
Add keywords() function to show $RHOME/doc/KEYWORDS file
Bug fixes:
Correct windows make flags as suggested by Brian Ripley.
Update Greg's email address and fix Rd syntax errors
New features:
Add checkRVersion() function to determine if a newer version of R is available.
Deprecated assert() in favor of base::stopifnot
Bug fixes:
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.
Update email address for Greg
Add new 'smartbind' function, which combines data frames efficiently, even if they have different column names.
src/setTCPNoDelay.c: Add C source code for setTCPNoDelay.
NAMESPACE: Add UseDynLib to NAMESPACE so the shared library gets properly loaded.
Updated Greg's email address.
New function 'addLast' that adds functions to R's .Last() so that they will be executed when R is terminating.
Added assert.R (and documentation)
Added the defmacro() function, extracted from Lumley T. "Programmer's Niche: Macros in {R}", R News, 2001, Vol 1, No. 3, pp 11--13, \url{http://CRAN.R-project.org/doc/Rnews/}
Added DESCRIPTION and removed DESCRIPTION.in