Skip to contents

[Experimental]

Usage

check_internet()

test_internet()

assert_internet()

Value

  • test_*: TRUE if it passes the test; FALSE otherwise.

  • check_*: TRUE if it passes the test; a string with a message otherwise.

  • assertion_*: The same input (as invisible) if it passes the test; an error message otherwise.

Examples

if (interactive()) {
  test_internet()
}