R docs -- remove stray } and add indenting