solve the author issue and add the example for R chunk