Merge "[Suggestion] Fix unit test on R" into sc-dev