Exploratory in r

i have seen most of exploratory code and found that they are based on ceratain fixed libraries like lubridate , janitor , hms , dplyr etc. so can we say that most of machine learnig or regression codes are based on these libraries only??

Those libraries are the ones used in producing the data wrangling result you have performed from UI, so it changes depending on what you use.

You can use build-in machine learning features, which use other libraries. Also, you can bring your own as well. Here are some samples.