Skip to content
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

Make is_mac() helper function #62

Open
eroten opened this issue Aug 4, 2023 · 0 comments
Open

Make is_mac() helper function #62

eroten opened this issue Aug 4, 2023 · 0 comments

Comments

@eroten
Copy link
Collaborator

eroten commented Aug 4, 2023

We have this bit of code scattered across the package, and could make it more succinct with a function like

is_mac <- function(){
  grepl("mac", osVersion)
}

returns a logical, TRUE or FALSE.

Or this may be overkill for a 23 character function. 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant