When attempting to run an R Script for data wrangling exported from Exploratory, you may encounter the following error in RStudio:
Error: 'clean_data_frame' is not an exported object from 'namespace:exploratory'
To resolve this issue, follow these steps:
.libPaths: Do not set the
Rprofile.sitefile. Modifying this can sometimes lead to conflicts and errors when running scripts.
- Start a Fresh R Session: Instead of reusing the existing R session in your RStudio, start a new session. This can help in isolating and resolving potential conflicts that may have occurred in the previous session.