Here Steps to follow:
Rtools is installed on your system to compile source packages.
Ensure that the path provided points to the correct location of rcompanion_2.4.36.tar.gz
For example
install.packages("E:\download\rcompanion_2.4.36.tar.gz", repos = NULL, type = "source")