-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in example due to incompatibility with macOS sandboxing #7
Comments
This happens because macOS sandboxing forbids execution of |
I don't have direct access to a Mac and the Macbuilder does I think work, i.e., is not "sandboxing". What does file.access(mode = 1, Sys.which("ps")) give you on such a sandboxed mac ? |
We have a solution in Macports for such cases, and it works for
|
Hmm, the above says that /bin/ps does have execute permission... Can you think of another way I can check on macOS, using R's system() or system2() if necessary, Of course, in the worst case, I probably should use something like try(system(....)) and see if it gives an error or not. |
@barracuda156 : Can you tell me how this (replacing the current function in pkg
|
I will close this as "fixed" soon, as I did not get any reply from @barracuda156 about the above fix. |
The text was updated successfully, but these errors were encountered: