]> git.donarmstrong.com Git - cran2deb.git/blobdiff - branch/double_build/R/util.R
rename double_build -> split_build
[cran2deb.git] / branch / double_build / R / util.R
diff --git a/branch/double_build/R/util.R b/branch/double_build/R/util.R
deleted file mode 100644 (file)
index 68401fd..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-iterate <- function(xs,z,fun) {
-    y <- z
-    for (x in xs)
-        y <- fun(y,x)
-    return(y)
-}
-
-chomp <- function(x) {
-    # remove leading and trailing spaces
-    return(sub('^[[:space:]]+','',sub('[[:space:]]+$','',x)))
-}
-
-err <- function(...) {
-    error(...)
-    exit()
-}
-
-exit <- function() {
-    q(save='no')
-}