R packaging issues resolved (still needs doc)