Issues with loaded package in R - r

I loaded the package "Poliscidata" for my research work in political science. But when I ran this library now, I find an error message like
library(poliscidata)
Error: package or namespace load failed for ‘poliscidata’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘stringi’.
It looks the package is not loading in my workspace. Kindly, let me know what should I do to run the package normally as before.

Try:
install.packages("stringi")

Related

Why am I getting while loading' tidyverse' library?

I installed the 'tidyverse' package but when I tried to load the library, I keep getting this error message: "Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘colorspace’"
Please, help!
I tried to load the package, that worked but loading the library did not.

error message when adding snippets package to my R library

I'm trying to make use of the R package "snippets." So, I seem to have installed it ok:
> install.packages("snippets", , "http://rforge.net/")
But then, when I go to add it to my library, I get the following error message:
> library(snippets)
Error: package or namespace load failed for ‘snippets’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘png’
I'm lost after that. Anyone know what to do?
Jerry

R: Error when loading package C50

I am receiving the below error when calling the 'C50' package. It has been installed correctly.
Error: package or namespace load failed for ‘C50’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘inum’
I have also ran the following .lib path code prior to installing and calling the library:
.libPaths(c("C:/Users/danhu/OneDrive/Documents/R/win-library/3.4", .libPaths()))
Any thoughts on why this might be happening?
You can install by using a code:
install.packages("C50", repos="http://R-Forge.R-project.org")
library(C50)
visit:https://rdrr.io/rforge/C50/

Problems loading package in R

When I try to load fPortfolio, the following error message occures. Do someone knows how to solve this?
> library("fPortfolio")
Error: package or namespace load failed for ‘fPortfolio’ in loadNamespace(i c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘XML’
Firstly install XML package:
install.packages("XML")
After that, try again.

error loading packages R, almost all packages

Today I opened R as usual and loaded all my libraries as usual, however most of my packages report an error now!
For example
library(ggmap)
> library(ggmap)
Loading required package: ggplot2
Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘lazyeval’
Error: package ‘ggplot2’ could not be loaded
I have never had this error before or encountered the package 'lazyeval'.
The story is similar for many other packages:
library(lubridate)
Error: package or namespace load failed for ‘lubridate’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘stringi’
Somehow it seems that I need to install all packages again?
Any idea what happened? As far as I know nothing has changed since I used R yesterday..

Resources