Skip to content

Commit b9f0211

Browse files
remove cc_dir, use normalizePath() on default (#6259)
1 parent 140ee61 commit b9f0211

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.dev/cc.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ sourceImports = function(path=getwd(), quiet=FALSE) {
5454
return(invisible())
5555
}
5656

57-
cc = function(test=FALSE, clean=FALSE, debug=FALSE, omp=!debug, cc_dir, path=Sys.getenv("PROJ_PATH", unset="."), CC="gcc", quiet=FALSE) {
58-
if (!missing(cc_dir)) {
59-
warning("'cc_dir' arg is deprecated, use 'path' argument or 'PROJ_PATH' env var instead")
60-
path = cc_dir
61-
}
57+
cc = function(test=FALSE, clean=FALSE, debug=FALSE, omp=!debug, path=Sys.getenv("PROJ_PATH", unset=normalizePath(".")), CC="gcc", quiet=FALSE) {
6258
stopifnot(is.character(CC), length(CC)==1L, !is.na(CC), nzchar(CC))
6359
gc()
6460

0 commit comments

Comments
 (0)