I can't install a package with error message - r

I can't install the package "biotools" with following message.
I would appreciate it if you could answer my question.
> install.packages("biotools")
also installing the dependency ‘rpanel’
installing the source packages ‘rpanel’, ‘biotools’
trying URL 'https://cran.rstudio.com/src/contrib/rpanel_1.1-4.tar.gz'
Content type 'application/x-gzip' length 716333 bytes (699 KB)
==================================================
downloaded 699 KB
trying URL 'https://cran.rstudio.com/src/contrib/biotools_3.1.tar.gz'
Content type 'application/x-gzip' length 55301 bytes (54 KB)
==================================================
downloaded 54 KB
* installing *source* package ‘rpanel’ ...
** package ‘rpanel’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") :
[tcl] can't find package BWidget.
Error : unable to load R code in package ‘rpanel’
ERROR: lazy loading failed for package ‘rpanel’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rpanel’
Warning in install.packages :
installation of package ‘rpanel’ had non-zero exit status
ERROR: dependency ‘rpanel’ is not available for package ‘biotools’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/biotools’
Warning in install.packages :
installation of package ‘biotools’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/51/tj1ztt6j3s9crhb71hl0n6qm0000gn/T/RtmpRjR4TK/downloaded_packages’

Related

Getting an error message when installing psych package

The message I get:
Installing psych:
Installing package into 'C:/.../Documents/R/win-library/4.0'
(as 'lib' is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
psych 2.1.9 2.2.3 FALSE
installing the source package 'psych'
trying URL 'https://cran.rstudio.com/src/contrib/psych_2.2.3.tar.gz'
Content type 'application/x-gzip' length 1928530 bytes (1.8 MB)
==================================================
downloaded 1.8 MB
* installing *source* package 'psych' ...
** package 'psych' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: unexpected symbol in "tools:::makeLazyLoading("psych", 'C:..."
Execution halted
ERROR: lazy loading failed for package 'psych'
* removing '.../Documents/R/win-library/4.0/psych'
The downloaded source packages are in
'C:...Temp\Rtmpe405Ws\downloaded_packages'
<U+2714> Package 'psych' successfully installed.
Warning message:
In utils::install.packages("psych", repos = "https://cran.rstudio.com/") :
installation of package 'psych' had non-zero exit status

asbio package in R 3.5.3 Error : object 'hcl.colors' is not exported by 'namespace:grDevices' ERROR: lazy loading failed for package 'asbio'

What's happen with asbio instalation here in R-3.5.3? Please.
There is a binary version available but the source version is later:
binary source needs_compilation
asbio 1.6-1 1.7 FALSE
installing the source package ‘asbio’
tentando a URL 'https://cran.csiro.au/src/contrib/asbio_1.7.tar.gz'Hi
Content type 'application/x-gzip' length 1789938 bytes (1.7 MB)
downloaded 1.7 MB
* installing *source* package 'asbio' ...
** package 'asbio' successfully unpacked and MD5 sums checked
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error : object 'hcl.colors' is not exported by 'namespace:grDevices'
ERROR: lazy loading failed for package 'asbio'
* removing 'C:/Program Files/R/R-3.5.3/library/asbio'
* restoring previous 'C:/Program Files/R/R-3.5.3/library/asbio'
In R CMD INSTALL
The downloaded source packages are in
‘C:\Users\rivad\AppData\Local\Temp\RtmpchxkNb\downloaded_packages’
Warning message:
In install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) :
installation of package ‘asbio’ had non-zero exit status
Thank you

Can't install plotKML package in R

I have tried to install plotKML package, but it raises the next error. I can't see any missing dependencies and I don't know what's wrong.
> install.packages("plotKML")
Installing package into ‘/home/benmhamed/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/plotKML_0.6-1.tar.gz'
Content type 'application/x-gzip' length 3448310 bytes (3.3 MB)
==================================================
downloaded 3.3 MB
* installing *source* package ‘plotKML’ ...
** package ‘plotKML’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
double free or corruption (!prev)
Aborted (core dumped)
ERROR: lazy loading failed for package ‘plotKML’
* removing ‘/home/benmhamed/R/x86_64-pc-linux-gnu-library/4.0/plotKML’
Warning in install.packages :
installation of package ‘plotKML’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpu5ujGk/downloaded_packages’

Installation of package. "had non-zero exit status" error. "S3 methods" error

I need the MVN package for multivariate normality test.
During it's installation, my laptop turned off.
After it restarted when I wanted to install MVN again, I got various "had non-zero exit status" that were gone after installing libcurl etc.
But now, I have other errors.
> install.packages("MVN")
Installing package into ‘/home/mslaav/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependency ‘kableExtra’
próbowanie adresu URL 'https://cloud.r-project.org/src/contrib/kableExtra_0.9.0.tar.gz'
Content type 'application/x-gzip' length 1638582 bytes (1.6 MB)
==================================================
downloaded 1.6 MB
próbowanie adresu URL 'https://cloud.r-project.org/src/contrib/MVN_5.5.tar.gz'
Content type 'application/x-gzip' length 342047 bytes (334 KB)
==================================================
downloaded 334 KB
* installing *source* package ‘kableExtra’ ...
** pakiet ‘kableExtra’ został pomyślnie rozpakowany oraz sumy MD5 zostały sprawdzone
** R
** inst
** preparing package for lazy loading
Ostrzeżenie: S3 methods ‘[.spec_tbl_df’, ‘as.col_spec.NULL’, ‘as.col_spec.character’, ‘as.col_spec.col_spec’, ‘as.col_spec.default’, ‘as.col_spec.list’, ‘format.col_spec’, ‘output_column.POSIXt’, ‘output_column.default’, ‘output_column.double’, ‘print.col_spec’, ‘print.collector’, ‘print.date_names’, ‘print.locale’, ‘str.col_spec’ were declared in NAMESPACE but not found
Error in library.dynam(lib, package, package.lib) :
shared object ‘readr.so’ not found
ERROR: lazy loading failed for package ‘kableExtra’
* removing ‘/home/mslaav/R/x86_64-pc-linux-gnu-library/3.4/kableExtra’
Warning in install.packages :
installation of package ‘kableExtra’ had non-zero exit status
ERROR: dependency ‘kableExtra’ is not available for package ‘MVN’
* removing ‘/home/mslaav/R/x86_64-pc-linux-gnu-library/3.4/MVN’
Warning in install.packages :
installation of package ‘MVN’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpF6Tden/downloaded_packages’
I tried reinstalling R and Rstudio, but it didn't help.

error in install.package("phia")

I am running macOS High Sierra: 10.13.3 and RStudio: 1.1.383
I am trying to install the package "phia" to use the interactionMeans
I have tried changing my mirror to no avail
However, I get this error;
> install.packages("phia", repos="http://cran.r-project.org",
dependencies = T)
also installing the dependencies ‘rio’, ‘car’
There are binary versions available but the source versions are
later:
binary source needs_compilation
rio 0.5.5 0.5.10 FALSE
car 2.1-6 3.0-0 FALSE
trying URL 'http://cran.r-
project.org/bin/macosx/mavericks/contrib/3.3/phia_0.2-1.tgz'
Content type 'application/x-gzip' length 570570 bytes (557 KB)
==================================================
downloaded 557 KB
The downloaded binary packages are in /var/fo
lders/73/gmd2dyv53bq9z861m7x1v09h0000gn/T//Rtmp23hrdR/downloaded_pa
ckages
installing the source packages ‘rio’, ‘car’
trying URL 'http://cran.r-project.org/src/contrib/rio_0.5.10.tar.gz'
Content type 'application/x-gzip' length 70117 bytes (68 KB)
==================================================
downloaded 68 KB
trying URL 'http://cran.r-project.org/src/contrib/car_3.0-0.tar.gz'
Content type 'application/x-gzip' length 443887 bytes (433 KB)
==================================================
downloaded 433 KB
* installing *source* package ‘rio’ ...
** package ‘rio’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error : object ‘read_xls’ is not exported by 'namespace:readxl'
ERROR: lazy loading failed for package ‘rio’
* removing
‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/rio’
Warning in install.packages :
installation of package ‘rio’ had non-zero exit status
ERROR: dependency ‘rio’ is not available for package ‘car’
* removing
‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/car’
Warning in install.packages :
installation of package ‘car’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/73/gmd2dyv53bq9z861m7x1v09h0000gn/T/Rtmp23hrdR/downloaded_packages’
If anyone has any ideas please fire them at me!

Resources