Skip to content

Commit

Permalink
forgot the second argument
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Jul 22, 2021
1 parent d7ef0f9 commit a1253d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ detect_arch = function() {
info = Sys.info()
m = info['machine']
if (grepl('^(aarch|arm)', m)) {
if (grepl('^(aarch|arm)64')) 'arm64' else 'arm'
if (grepl('^(aarch|arm)64', m)) 'arm64' else 'arm'
} else if (length(grep('64', unlist(info[c('machine', 'release')]))) > 0)
'64bit' else '32bit'
}
Expand Down

0 comments on commit a1253d6

Please sign in to comment.