Closed tcagkansokmen closed 6 years ago
Hello,
You can not solve that as it has been removed from CRAN (you can find details on the github page https://github.com/davidgohel/ReporteRs).
KR
Hi David,
Unfortunately I have the same problem when I try to install it from Github or even from CRAN archives:
> devtools::install_github('davidgohel/ReporteRs')
Downloading GitHub repo davidgohel/ReporteRs@master
Skipping 1 packages not available: ReporteRsjars
Installing 9 packages: httpuv, later, png, promises, ReporteRsjars, rJava, rvg, shiny, sourcetools
Error: (converted from warning) package ‘ReporteRsjars’ is not available (for R version 3.5.1)
> devtools::install_version("ReporteRs", version = "0.8.10", repos = "http://cran.r-project.org")
Downloading package from url: http://cran.r-project.org/src/contrib/Archive/ReporteRs/ReporteRs_0.8.10.tar.gz
Skipping 1 packages not available: ReporteRsjars
Installing 12 packages: httpuv, later, png, promises, R.methodsS3, R.oo, R.utils, ReporteRsjars, rJava, rvg, shiny, sourcetools
Error: (converted from warning) package ‘ReporteRsjars’ is not available (for R version 3.5.1)
I am migrating to officer
but this will take a lot of time (I'd have to rewrite an entire library). In the meantime I'd need my old scripts to be usable. How should I install ReporteRs
?
Hi Dan,
It seems you did not follow installation instructions (see my previous answer)!
Oops, you are right, I forgot to install the ReporteRsjars
package on this instance. But I think this is the only thing I missed.
Unfortunately, this simply brings me back to another error I've seen before:
> devtools::install_github('davidgohel/ReporteRs')
Downloading GitHub repo davidgohel/ReporteRs@master
Installing 7 packages: httpuv, later, png, promises, rvg, shiny, sourcetools
Error: (converted from warning) unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.5/PACKAGES'
I'm not sure why github is linking to stats.ox.ac.uk, but indeed, if you follow the URL, there is no 3.5
directory, only a 3.4
.
Does it mean I'm lacking yet another package ? If yes I couldn't find which one...
The only advice I can give there is to make sure you installed all packages named in Imports
and you have a JRE < 9 and it should be ok
This was one great advice, it works like a charm. Thanks a lot !
happy to leave you happy :)
Hello I'm getting error like: Warning in install.packages : package ‘ReporteRs’ is not available (for R version 3.5.1) Error in library(ReporteRs) : there is no package called ‘ReporteRs’
with trying to install;
install.packages('ReporteRs')
how can I resolve this?