removed check_type.R type