csgillespie / benchmarkme

Crowd sourced benchmarking
https://csgillespie.github.io/benchmarkme/
40 stars 13 forks source link

CRAN issue: #35

Closed csgillespie closed 2 years ago

csgillespie commented 3 years ago

If the runjags message

'Xgrid is not available on this machine. Xgrid functions are only available on machines running Mac OS X 10.5 (Leopard), OS X 10.6 (Snow Leopard) or OS X 10.7 (Lion) and with access to an Xgrid controller'

is accurate (and it seems so) this is ancient history and the non-functionality should be removed.

Please correct before 2021-02-23 to safely retain your package on CRAN.


Follow up email

Package benchmarkme has not done as you were asked, to look for sysctl (not just check if it is on the path).

As a result,

Name: get_cpu

Title: CPU Description

Aliases: get_cpu

** Examples

Return the machine CPU

get_cpu() $vendor_id [1] NA

$model_name [1] NA

$no_of_cores [1] 8

Name: get_ram

Title: Get the amount of RAM

Aliases: get_ram

** Examples

Return (and pretty print) the amount of RAM

get_ram() Unable to detect your RAM. # nocov Please raise an issue at https://github.com/csgillespie/benchmarkme NA B

Display using iec units

print(get_ram(), unit_system = "iec") Unable to detect your RAM. # nocov Please raise an issue at https://github.com/csgillespie/benchmarkme NA B

Name: get_sys_details

Title: General system information

Aliases: get_sys_details

** Examples

Returns all details about your machine

get_sys_details() Unable to detect your RAM. # nocov Please raise an issue at https://github.com/csgillespie/benchmarkme

and if also fails (in an ugly way) if sysctl is on the path:

example(get_cpu)

get_cp> ## Return the machine CPU get_cp> get_cpu() sysctl: unknown oid 'machdep.cpu.vendor' $vendor_id character(0) attr(,"status") [1] 1

$model_name [1] "Apple M1"

$no_of_cores [1] 8

Warning message: In system(paste(sysctl, "-n machdep.cpu.vendor"), intern = TRUE) : running command '/usr/sbin/sysctl -n machdep.cpu.vendor' had status 1