[R-gregmisc-commits] r2128 - pkg/gdata/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 31 19:03:37 CEST 2016


Author: warnes
Date: 2016-05-31 19:03:33 +0200 (Tue, 31 May 2016)
New Revision: 2128

Modified:
   pkg/gdata/R/humanReadable.R
Log:
Fix typo that forced users of humanReadable() to provide two elements to the 'justify' argument.  The correction allows a single value to be provided which will be expanded to two internally.

Modified: pkg/gdata/R/humanReadable.R
===================================================================
--- pkg/gdata/R/humanReadable.R	2016-04-22 16:10:15 UTC (rev 2127)
+++ pkg/gdata/R/humanReadable.R	2016-05-31 17:03:33 UTC (rev 2128)
@@ -14,7 +14,7 @@
   suffix.Unix <- c("B" ,  "K",   "M",   "G",   "T",   "P",   "E",   "Z",   "Y")
 
   standard <- match.arg(standard)
-  if(length(justify)==1) justfy <- c(justify, justify)
+  if(length(justify)==1) justify <- c(justify, justify)
 
   ## --- Functions ---
 



More information about the R-gregmisc-commits mailing list