unitizer version 1.4.12 does not install

2020-12-30T05:00:00Z

**This was the result when trying to install unitizer:**
install.packages("unitizer")
Installing package into ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
probando la URL 'https://cloud.r-project.org/src/contrib/unitizer_1.4.12.tar.gz'
Content type 'application/x-gzip' length 693207 bytes (676 KB)
==================================================
downloaded 676 KB

* installing *source* package ‘unitizer’ ...
** package ‘unitizer’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in completeSubclasses(classDef2, class1, obj, where) : 
  tentativa de obtener un slot "subclasses" de un objeto de una clase básica ("NULL") sin slots (English translation: attempt to obtain a "subclasses" slot of an object of a basic class ("NULL") without slots)
Error: package or namespace load failed for ‘dbplyr’:
 .onLoad failed in loadNamespace() for 'dbplyr', details:
  call: setClass(cl, contains = c(prevClass, "VIRTUAL"), where = where)
  error: error in contained classes ("character") for class “ident”; class definition removed from ‘dbplyr’
Error in .requirePackage(package) : 
  unable to find required package ‘dbplyr’
Calls: <Anonymous> ... .recacheSubclasses -> getClassDef -> .requirePackage
Ejecución interrumpida
ERROR: lazy loading failed for package ‘unitizer’
* removing ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0/unitizer’
* restoring previous ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0/unitizer’

The downloaded source packages are in
	‘/tmp/RtmpRt5E8a/downloaded_packages’

Note: dbplyr version 2.0.0 is installed. In my computer unitizer version 1.4.11 is installed. install.packages() fails with unitizer version 1.4.12

Can you try to install dbplyr manually and post the error message you get?

Should I uninstall dbplyr 2.0.0 first?

If it is installed on a different library path, yes, otherwise, is up to you, I'm more interested in the additional information that the error message can provide.

install.packages("dbplyr")
Installing package into ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
probando la URL 'https://cloud.r-project.org/src/contrib/dbplyr_2.0.0.tar.gz'
Content type 'application/x-gzip' length 534910 bytes (522 KB)
==================================================
downloaded 522 KB

* installing *source* package ‘dbplyr’ ...
** package ‘dbplyr’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (dbplyr)

The downloaded source packages are in
        ‘/tmp/Rtmpqj1j1h/downloaded_packages’

That is weird, it installs without issues, can you try restarting your R session and trying to install unitizer again?

I tried to install unitizer and this is the result:
hugo@hugo-MS-7978:~$ R

R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'license()' o 'licence()' para detalles de distribucion.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors()' para obtener más información y
'citation()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line de ayuda,
o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q()' para salir de R.

[Previously saved workspace restored]

install.packages("unitizer")
Installing package into ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
probando la URL 'https://cloud.r-project.org/src/contrib/unitizer_1.4.12.tar.gz'
Content type 'application/x-gzip' length 693207 bytes (676 KB)
==================================================
downloaded 676 KB

  • installing source package ‘unitizer’ ...
    ** package ‘unitizer’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** demo
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in completeSubclasses(classDef2, class1, obj, where) :
    tentativa de obtener un slot "subclasses" de un objeto de una clase básica ("NULL") sin slots (attempt to obtain a "subclasses" slot of an object of a basic class ("NULL") without slots)
    Error: package or namespace load failed for ‘dbplyr’:
    .onLoad failed in loadNamespace() for 'dbplyr', details:
    call: setClass(cl, contains = c(prevClass, "VIRTUAL"), where = where)
    error: error in contained classes ("character") for class “ident”; class definition removed from ‘dbplyr’
    Error in .requirePackage(package) :
    unable to find required package ‘dbplyr’
    Calls: ... .recacheSubclasses -> getClassDef -> .requirePackage
    Ejecución interrumpida (Execution interrupted)
    ERROR: lazy loading failed for package ‘unitizer’
  • removing ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0/unitizer’
  • restoring previous ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0/unitizer’

The downloaded source packages are in
‘/tmp/RtmpzaFG4Z/downloaded_packages’
Warning message:
In install.packages("unitizer") :
installation of package ‘unitizer’ had non-zero exit status

Yesterday I was sanctioned (flagged) by the community and they treated my messages as spam without any explanation just because something named AKISMET considered it so.
Today, despite my disqualification, I downloaded version 1.4.12 from: Debian -- Package Download Selection -- r-cran-unitizer_1.4.12-1_all.deb and installed it on my computer with gdebi.
In the attached graphic you can see the RStudio PACKAGES section and see the two packages installed, but when I tell RStudio or R in the command console to install unitizer 1.4.12, it tells me that there are errors and that it cannot install it .
Is my message spam?

To avoid autoflaging of your posts, post console output as formatted code, here is how to do it

About your issue, I'm afraid you are not providing any relevant information, please post the actual error message you get (as formatted code), also, why do you have both versions installed? Make sure to uninstall any previous version from your other library paths (you can get them by running .libPaths()).

**Initial steps:**

1) Uninstall unitizer, command console, call as root user
2) R reports that unitizer is not installed
3) The list of installed packages is requested and with grep the names that contain unitizer are obtained
4) The list of installed packages reports two instances where the unitizer is shown as installed
5) Image that summarizes the above

**Steps with RStudio**

1) Attempting to uninstall unitizer
2) The list of installed packages is built
3) From the above list, it is checked with grep if unitizer is installed
4) Like the call to R from the command console, unitizer appears as installed
5) See the following image of RStudio that shows on the right how unitizer is not installed, and on the left the output of the RStudio Console

**Reinstalling unitizer from command console called as normal user:**

*> "hugo@hugo-MS-7978:~$ R*
*> *
*> R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"*
*> Copyright (C) 2020 The R Foundation for Statistical Computing*
*> Platform: x86_64-pc-linux-gnu (64-bit)*
*> *
*> R es un software libre y viene sin GARANTIA ALGUNA.*
*> Usted puede redistribuirlo bajo ciertas circunstancias.*
*> Escriba 'license()' o 'licence()' para detalles de distribucion.*
*> *
*> R es un proyecto colaborativo con muchos contribuyentes.*
*> Escriba 'contributors()' para obtener más información y*
*> 'citation()' para saber cómo citar R o paquetes de R en publicaciones.*
*> *
*> Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line de ayuda,*
*> o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.*
*> Escriba 'q()' para salir de R.*
*> *
*> [Previously saved workspace restored]*
*> *
*> > install.packages("unitizer")*
*> Installing package into ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0’*
*> (as ‘lib’ is unspecified)*
*> probando la URL 'https://cloud.r-project.org/src/contrib/unitizer_1.4.12.tar.gz'*
*> Content type 'application/x-gzip' length 693207 bytes (676 KB)*
*> ==================================================*
*> downloaded 676 KB*
*> *
*> * installing *source* package ‘unitizer’ ...*
*> ** package ‘unitizer’ successfully unpacked and MD5 sums checked*
*> ** using staged installation*
*> ** R*
*> ** demo*
*> ** inst*
*> ** byte-compile and prepare package for lazy loading*
*> Error in completeSubclasses(classDef2, class1, obj, where) : *
*>   tentativa de obtener un slot "subclasses" de un objeto de una clase básica ("NULL") sin slots*
*> Error: package or namespace load failed for ‘dbplyr’:*
*>  .onLoad failed in loadNamespace() for 'dbplyr', details:*
*>   call: setClass(cl, contains = c(prevClass, "VIRTUAL"), where = where)*
*>   error: error in contained classes ("character") for class “ident”; class definition removed from ‘dbplyr’*
*> Error in .requirePackage(package) : *
*>   unable to find required package ‘dbplyr’*
*> Calls: <Anonymous> ... .recacheSubclasses -> getClassDef -> .requirePackage*
*> Ejecución interrumpida*
*> ERROR: lazy loading failed for package ‘unitizer’*
*> * removing ‘/home/hugo/R/x86_64-pc-linux-gnu-library/4.0/unitizer’*
*> *
*> The downloaded source packages are in*
*> 	‘/tmp/Rtmp5yJsFV/downloaded_packages’*
*> Warning message:*
*> In install.packages("unitizer") :*
*>   installation of package ‘unitizer’ had non-zero exit status*
*> >*

"

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.