Declare 'methods' as a dependency

added `methods` as a dependency to avoid the `R CMD check` warnings