From noreply at r-forge.r-project.org Tue May 31 19:03:37 2016 From: noreply at r-forge.r-project.org (noreply at r-forge.r-project.org) Date: Tue, 31 May 2016 19:03:37 +0200 (CEST) Subject: [R-gregmisc-commits] r2128 - pkg/gdata/R Message-ID: <20160531170338.002B3183D37@r-forge.r-project.org> 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 ---