package or namespace load failed for 'shiny' - r

When I am trying to install shiny in R studio I am getting this error
there is no package called 'httpuv'
, so I tried using package.install('httpuv') but here I got something like
In install.packages("httpuv") :
installation of package 'httpuv' had non-zero exit status
After that I tried to library(shiny) to get load shiny but still got the same error that httpuv is missing below.
library(shiny)
Error: package or namespace load failed for 'shiny' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called 'httpuv'

Related

Error package or namespace load failed for rminer in loadNamespace

I already installed rminer library using install.packages("rminer")
I get the following error
Error: package or namespace load failed for ‘rminer’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘TH.data’
I also tried to install with another methods from this answers but still gave an error.
Im using RStudio 2022.07.2 Build 576 and R version 4.2.1

The shiny package will not load after installation

I tried:
install.packages('shiny')
library(shiny)
Got the following message:
Error: package or namespace load failed for ‘shiny’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘htmltools’
In addition: Warning message:
package ‘shiny’ was built under R version 4.0.5
I tried starting over and loading htmltools and then also the following error:
Error in library(htmltools) : there is no package called 'htmltools'

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/

Error in require(biwavelet)

I have just downloaded biwavelet package but when trying to open it in R version 3.1.2 i get this error message:
> library(biwavelet)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘spam’
Error: package or namespace load failed for ‘biwavelet’
It only happens with this package. Any clues about what is the problem here?
It seems to be missing a dependency somehow. Just run
install.packages("spam")
to install the missing package.

Resources