installing a R package in the cluster - r

I wanted to install some R package in a cluster (with the specific version) to do my analysis, this are my code
devtools::install_version("lme4", version = "1.1-23",repo = "https://lib.ugent.be/CRAN/", dependencies = TRUE, type = "source",options(warn=0, error=NULL))
But I get an error message
“Error: Failed to install 'unknown package' from URL:
'arg' must be NULL or a character vector
Execution halted
”
can anybody guide me, what should I do?

Related

Cannot install R packages on a Mac

I am trying to install packages (ANY!) in R on a Mac but it always gives me the same error:
Error in install.packages : type 'binary' is not supported on this platform
I have also tried using:
> install.packages("ggplot2_3.3.3.tar.gz", repos = NULL, type="source") Warning: invalid package ‘ggplot2_3.3.3.tar.gz’ Error: ERROR: no packages specified Warning in install.packages : installation of package ‘ggplot2_3.3.3.tar.gz’ had non-zero exit status
Did not have this problem before.
Can someone help me out please?
Thanks
Valentina

Install R package ERROR installing binary package failed

I'm newbie for R and I built my R package for my users that built without error.
When I install on Windows with devtools::install_local(path = "MyPackage.zip", dependencies = TRUE).
I got error
* installing *binary* package 'MyPackage' ... cp: unknown option -- ) Try '/usr/bin/cp --help' for more information. ERROR: installing binary package failed
After some search I found this thread enter link description here
but I have no Built: in my DESCRIPTION file.
Anyone please can help me how to solve these ?

Installing wordcountaddin with

I have been trying to install an RStudio addin to count words and characters in text in an R markdown document, wordcountaddin, in RStudio on Windows.
devtools::install_github("benmarwick/wordcountaddin", type = "source", dependencies = TRUE)
But I keep getting the following errors:
Error: Failed to install 'wordcountaddin' from GitHub:
(converted from warning) installation of package ‘covr’ had non-zero exit status
Is there a way to fix this? Thanks

Error installing R package forecast

Im trying to install the "forecast" package in R and I keep getting the following error
Error in install.packages : Found continuation line starting ' <link rel="s ...' at begin of record.
I'm running R 3.2.2 Windows 64 bit
I've tried these, I get the same error
install.packages("https://cran.r-project.org/src/contrib/forecast_7.1.tar.gz ",repos=NULL, dependencies = TRUE)
install.packages("forecast", dep = T, lib="C:/Projects/Consumption curves/Rpackages")
install.packages("forecast", type="source")

Error on R studio startup

I get the following error message in the console when opening Rstudio :
Error installing package: Error: ERROR: no packages specified
The filename, directory name, or volume label syntax is incorrect.
My R version is 3.1.1
This is the error you get from calling install.packages with no package specified.
> install.packages()
Error in install.packages() : no packages were specified
You might want to check whether something like that is included in your Rprofile.site file.

Resources