added R tutorial docs
corrected add for tests
upload note to troubleshoot