I am using RStudio version Version 1.1.447. I have tried to installed the digest package because it is required for the package leaflet. I used the statement:
install.packages('digest', dep=TRUE)
and it seems that the package knitr is stalled successfully. But at the end of the installation, it gives me an error that the knitr was not found. I can't figure out what is causing the problem.
I found a previous question similar to mine but it doesn't have a solution: knitr question
I would appreciate very much any help.
package ‘mime’ successfully unpacked and MD5 sums checked
package ‘tinytex’ successfully unpacked and MD5 sums checked
package ‘knitr’ successfully unpacked and MD5 sums checked
package ‘rmarkdown’ successfully unpacked and MD5 sums checked
package ‘digest’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\MCetrar\AppData\Local\Temp\RtmpmWreO3\downloaded_packages
Error: invalid version specification ‘NA’
In addition: Warning message:
In utils:::packageDescription(packageName, fields = "Version") :
no package 'knitr' was found
sessionInfo()
and.libPaths()
. Also try installing knitr on its own firstinstall.packages("knitr")
– JBGruber