Skip to content

Commit

Permalink
debug should also be taken into account with Rtools 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored and jimhester committed Sep 16, 2020
1 parent 3a87bd9 commit 64ce3d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/rtools.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ has_rtools <- function(debug = FALSE) {
if(is_R4()){
rtools40_home <- Sys.getenv('RTOOLS40_HOME', 'C:\\rtools40')
if(file.exists(file.path(rtools40_home, 'usr', 'bin'))){
if (debug)
cat("Found in Rtools 4.0 installation folder\n")
rtools_path_set(rtools(rtools40_home, '4.0'))
return(TRUE)
}
Expand Down

0 comments on commit 64ce3d9

Please # to comment.