R refactoring
R refactoring

Co-Authored-By: jmasonlee <4a7f9164fe1f0970584dc78bfc606b4d29a94746@users.noreply.github.com>
Co-Authored-By: christineqinyang98 <9549f999a9b7a3fb7fbb3adf93a1c080ace64de8@users.noreply.github.com>
Co-Authored-By: Tony YK Chan <bae1edb062d06c7101fb94f08fc21851cf8eda62@gmail.com>

approvals/ApprovalTests.Python,approvals/ApprovalTests.Python,approvals/ApprovalTests.Python