Skip to content

Commit

Permalink
assume PROJ_PATH=. if unset in cc() (#6042)
Browse files Browse the repository at this point in the history
* assume PROJ_PATH=. if unset

* ?
  • Loading branch information
MichaelChirico authored Apr 9, 2024
1 parent ac60ca2 commit 585ec52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev/cc.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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"), CC="gcc", quiet=FALSE) {
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
Expand Down

0 comments on commit 585ec52

Please sign in to comment.