Fix some notes/warnings in R CMD Check; closes #2