Dash with R Upload Component

I’m trying to upload and read a .csv file in my dashR application. However, I’m following the documentation Dash for R User Guide and Documentation | R & RStats | Plotly but the code posted here is not correct. First, I’m getting an error in my rstudio that base64_dec is not found so does anyone know what library this function extends from? The contents component of my upload component seems to be some encrypted string when I pass in my .csv file and I’m confused on how to proceed. I see that dash with python upload component works correctly but it uses the pandas library to read in the csv file, am I able to use this pandas library with R? Essentially, my problem is decoding the string stored in the upload component’s ‘contents’ section using dash with R.