Facing Problem in installing "fansi" package

You are choosing to install the latest version from source, which requires compilation, but you haven't installed RTools (software that bundles the required compilers).

You have two options, either install a suitable version (for your R version) of RTools in your system or install the older binary version of the package.

You can download older versions of RTools from here

Note: Please do not use screenshots to share console output, it is considered a bad practice here, post it as formatted code instead, here is how to do it