I installed a package succesfully hower I cannot load it ...

code:

install.packages("FinCal", dependencies = TRUE)
library(FinCal)

output

install.packages("FinCal", dependencies = TRUE)
Installing package into ‘C:/Users/Van Eupen R/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/FinCal_0.6.3.zip'
Content type 'application/zip' length 142098 bytes (138 KB)
downloaded 138 KB

package ‘FinCal’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\Van Eupen R\AppData\Local\Temp\RtmpSy0T1T\downloaded_packages

library(FinCal)
Error: package or namespace load failed for ‘FinCal’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘stringi’

Try installing stringi as well. Then running the package.

1 Like

Ok. Because the package in present in my .libPaths() folder...

When I do that, R gets in an infinite loop of spitting weird output...

install.packages("stringi", dependencies = TRUE)

Ok but when I clicked no for compilaton it worked. Thanks Williaml !!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.