title: Issues while Installing Caret
body: <p>All,</p>
  <p>When I try to install the library(caret), I get the following error</p>
  <pre><code>library(caret)
  Loading required package: ggplot2
  Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(j &lt;- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
   there is no package called ‘pkgconfig’
  Error: package ‘ggplot2’ could not be loaded
  </code></pre>
  <p>When ggplot2 is installed separately, it says the following but still not able to load ggplot2</p>
  <pre><code>package ‘ggplot2’ successfully unpacked and MD5 sums checked
  
  The downloaded binary packages are in
          C:\Users\b_umair\AppData\Local\Temp\Rtmpym8OBL\downloaded_packages
  </code></pre>
  <p>I am using R version 4.0.2 and have tried majority of the options listed on the internet</p>
  <p>Any suggestions on how to resolve this issue??</p>