testwhat
testwhat copied to clipboard
Make check_library more robust
Currently, it's based on string checking, but, as @sumedh10 rightfully pointed out, it can just inspect the search()
path and see if "package:<pkg_name>"
is in there. Would make it more robust.
Caveat: make sure that this also works with some trickier exercises in intermediate R.