Open HenrikBengtsson opened 5 months ago
?ps::ps_memory_info says:
?ps::ps_memory_info
https://github.com/r-lib/ps/blob/9730a38ad7455d35ffd171cc50f220a161c15794/R/low-level.R#L485
but it's actually returning a named numeric vector;
> str(ps::ps_memory_info()) Named num [1:7] 1.00e+09 1.22e+09 2.11e+07 4.10e+03 0.00 ... - attr(*, "names")= chr [1:7] "rss" "vms" "shared" "text" ... > str(ps::ps_memory_full_info()) Named num [1:10] 1.00e+09 1.22e+09 2.11e+07 4.10e+03 0.00 ... - attr(*, "names")= chr [1:10] "rss" "vms" "shared" "text" ...
?ps::ps_memory_info
says:https://github.com/r-lib/ps/blob/9730a38ad7455d35ffd171cc50f220a161c15794/R/low-level.R#L485
but it's actually returning a named numeric vector;