Please provide assertive.propereties::assert_all_have_names

Issue #2 new
Johannes Graumann created an issue

Consider that this:

library(magrittr)
requireNamespace(assertive.types)
requireNamespace(assertive.properties)

list(a = 1, b = 2, 3)  %>%
  assertive.types::assert_is_list() %>%
  assertive.properties::assert_has_names()

will NOT fail. There is no clean way to achieve a check for all named currently in the assertive suite. Please provide either assertive.properties::assert_all_have_names or assertive.types::assert_is_named_list ...

Comments (1)

  1. Log in to comment