Use this function to extract tests from package source files.
In-source testing blocks are contained in blocks that are prevented
from running when sourced by an if(FALSE){...} statement.
It also contains a documentation tag to denote a testing block.
# NOT RUN {# Extract all filesextract_tests('.')
# Extract only files that start with 'Class-' or 'class-'extract_tests('.', filter="^[Cc]lass-.*\\.[Rr]$")
# }