refactor: replace the use of 'class' by 'inherits' in all check conditions

Refs #45
1 job for 45-replace-the-use-of-class-by-inherits-in-order-to-test-the-classes in 1 minute and 44 seconds (queued for 4 seconds)
Status Name Job ID Coverage
  Check
passed check_as_cran_patched #192360

00:01:44