[R] Error in Descending Hierarchical Classification - Iramuteq

Ivan Krylov |kry|ov @end|ng |rom d|@root@org
Sat Jul 26 14:16:34 CEST 2025


Dear Ewylle Farias,

Olá! I used https://simplytranslate.org/ to read your message.
Hopefully you can read English or use a translator as well.

В Thu, 24 Jul 2025 10:41:16 -0300
Ewylle Farias <ewyllefarias using gmail.com> пишет:

> O primeiro problema foi “Mensagem de aviso: pacote ‘irlba’ foi
> compilado no R versão 4.4.3

This is fine. You may want to install R-4.4.3 instead of R-4.4.2, but
your current R version should also work.
 
> ‘as (<dgTMatrix>, “dgCMatrix”)’ é obsoleto
> 
> Use ‘as(., “CsparseMatrix”)’ em seu lugar.
> 
> Veja help(“Deprecated”) e help(“Matriz-deprecated”).”

This is worse. Some of the code that you are using needs to be
rewritten to be compatible with new versions of the Matrix package.
Still, as long as it's "deprecated" and not "defunct", it should work.

In order to find out where this code is hiding, you can try setting

old_options <- options(warn = 2, error = recover)

and re-running the code that causes this warning. Afterwards, use
options(old_options) to set things back as they were (or restart R).

If you can share the "traceback" from where this deprecation warning
appears, it may be helpful to the developers of the affected package.
For more information, see "The R Inferno" by Patrick Burns, sections
8 and 9.7:
<http://web.archive.org/web/20250515182119/https://www.burns-stat.com/documents/books/the-r-inferno/>.

> 2: pacote ‘Matrix’ foi compilado no R versão 4.6.0”

Please install the version of the Matrix package compatible with your R
version 4.4.x:
https://cran.r-project.org/bin/windows/contrib/4.4/Matrix_1.7-3.zip
It *will* complain about being built on R-4.4.3, but that's harmless.

(Feel free to locate the link yourself at the official package page,
<https://cran.r-project.org/package=Matrix>. You need "Windows
binaries" for "r-oldrel". Currently you have the version for "r-devel"
installed, which does not work with R-4.4.2.)

Unfortunately, that will probably not solve your main problem with the
CHD function not working. Where are the "CHD" and "boostana" functions
from? You may have to contact their developers.

-- 
Best regards,
Ivan



More information about the R-help mailing list