@@ -68,17 +68,12 @@ macos_rtools_install <- function(
6868 os_release <- base :: Sys.info()[' release' ]
6969 arch <- system_arch()
7070 r_version <- base :: paste(base :: R.version $ major , base :: R.version $ minor , sep = ' .' )
71- disk_space <- base :: tryCatch(
72- base :: round(base :: as.numeric(base :: system(' df -h / | tail -1 | awk \' {print $4}\' ' , intern = TRUE )), 2 ),
73- error = function (e ) " Unknown"
74- )
7571
7672 cli :: cli_alert_info(" System requirements check:" )
7773 cli :: cli_bullets(c(
7874 " Operating system: {.val {os_version}} ({.val {os_release}})" ,
7975 " Architecture: {.val {arch}}" ,
8076 " R version: {.val {r_version}}" ,
81- " Available disk space: {.val {disk_space}} GB" ,
8277 " Administrator privileges: Required"
8378 ))
8479 cli :: cli_text(" " ) # Add spacing
@@ -87,8 +82,8 @@ macos_rtools_install <- function(
8782 cli :: cli_bullets(c(
8883 " Ensure you have a stable internet connection" ,
8984 " Connect your computer to a power source" ,
90- " Estimated installation time: 15 -25 minutes" ,
91- " Required disk space: Approximately 5-7 GB"
85+ " Estimated installation time: 17 -25 minutes" ,
86+ " Required disk space: Approximately 6-9 GB"
9287 ))
9388 cli :: cli_text(" " ) # Add spacing
9489
@@ -134,7 +129,7 @@ macos_rtools_install <- function(
134129 " Source: Apple Software Update" ,
135130 " Installation method: softwareupdate command" ,
136131 " Status: Not installed" ,
137- " Estimated time: 5-10 minutes"
132+ " Estimated time: 10-15 minutes"
138133 ))
139134 cli :: cli_text(" " ) # Add spacing
140135 }
0 commit comments