Skip to content

Add alternative of gatekeeper test on Windows #49

@katrinleinweber

Description

@katrinleinweber

Thank you for your ROpenSci community call presentation recently :-)

Is your feature request related to a problem? Please describe.
I ran ropsec::summarize_system_checks() on Windows 8 and got

macos-simple-test.R:45: error: gatekeeer is on
'spctl' not found
1: system("spctl --status", intern = TRUE) at C:/.../R/win-library/3.6/ropsec/tests/simple/macos-simple-test.R:45

which is no surprise. Same sessionInfo() as in defender/#20.

Describe the solution you'd like

This test should be skipped on Windows systems.

Describe alternatives you've considered

  1. wrap macos-simple-test.R in os_type or a new is_macos
  2. add tests for whatever is Windows Gatekeeper-equivalent

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions