add latest function, and document with latest R build