diff --git a/.dev/cc.R b/.dev/cc.R index 3ce9d2455..2c33a2256 100644 --- a/.dev/cc.R +++ b/.dev/cc.R @@ -54,11 +54,7 @@ sourceImports = function(path=getwd(), quiet=FALSE) { return(invisible()) } -cc = function(test=FALSE, clean=FALSE, debug=FALSE, omp=!debug, cc_dir, path=Sys.getenv("PROJ_PATH", unset="."), CC="gcc", quiet=FALSE) { - if (!missing(cc_dir)) { - warning("'cc_dir' arg is deprecated, use 'path' argument or 'PROJ_PATH' env var instead") - path = cc_dir - } +cc = function(test=FALSE, clean=FALSE, debug=FALSE, omp=!debug, path=Sys.getenv("PROJ_PATH", unset=normalizePath(".")), CC="gcc", quiet=FALSE) { stopifnot(is.character(CC), length(CC)==1L, !is.na(CC), nzchar(CC)) gc()