packageCheck function

Run package checks