made R package loadable