testing part is passing R CMD check command

now I need to write the required doc files.

modified:   .gitignore
modified:   R/groupsites.R
modified:   tests/testthat/test_groupsites.R