Get CurrentUser (email) of Outlook in R

Hi there, I’m trying to create a dynamic object of the outlook email address of the user logged into R, currently I’m relying on the users of my code to manually enter their email address into the code as below:

active_email ← “some_user@outlookuser.com” # change this to your outlook email address

I feel the code would be something like:

active_email ← OutApp$Get(“CurrentUser”)

But I’m not sure. Does anyone have any advice?