R package for remote publish