Archive du forum du MOOC Recherche Reproductible Session 2

Bibliothèque quantreg - dépendances

thomasbb

Bonjour,

Il me semble que je n’ai pas accès aux dépendances r-matrixmodels et r-sparsem de quantreg : en rouge

La page d’r-sparsem n’existe pas : https://aur.archlinux.org/packages/r-sparsem/

mgdondon

Bonjour,

Je vous conseille de réinstaller le package quantreg avec les dépendances :

> install.packages("quantreg",dep=TRUE)
also installing the dependencies ‘miniUI’, ‘webshot’, ‘sp’, ‘crosstalk’, ‘manipulateWidget’, ‘SparseM’, ‘MatrixModels’, ‘tripack’, ‘akima’, ‘rgl’, ‘logspline’, ‘nor1mix’, ‘Formula’

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/miniUI_0.1.1.1.zip'
Content type 'application/zip' length 36211 bytes (35 KB)
downloaded 35 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/webshot_0.5.1.zip'
Content type 'application/zip' length 141088 bytes (137 KB)
downloaded 137 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/sp_1.3-1.zip'
Content type 'application/zip' length 1868957 bytes (1.8 MB)
downloaded 1.8 MB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/crosstalk_1.0.0.zip'
Content type 'application/zip' length 665364 bytes (649 KB)
downloaded 649 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/manipulateWidget_0.10.0.zip'
Content type 'application/zip' length 1858339 bytes (1.8 MB)
downloaded 1.8 MB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/SparseM_1.77.zip'
Content type 'application/zip' length 1082739 bytes (1.0 MB)
downloaded 1.0 MB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/MatrixModels_0.4-1.zip'
Content type 'application/zip' length 381257 bytes (372 KB)
downloaded 372 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/tripack_1.3-8.zip'
Content type 'application/zip' length 493613 bytes (482 KB)
downloaded 482 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/akima_0.6-2.zip'
Content type 'application/zip' length 246837 bytes (241 KB)
downloaded 241 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/rgl_0.100.19.zip'
Content type 'application/zip' length 4183216 bytes (4.0 MB)
downloaded 4.0 MB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/logspline_2.1.12.zip'
Content type 'application/zip' length 249449 bytes (243 KB)
downloaded 243 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/nor1mix_1.2-3.zip'
Content type 'application/zip' length 111810 bytes (109 KB)
downloaded 109 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/Formula_1.2-3.zip'
Content type 'application/zip' length 180932 bytes (176 KB)
downloaded 176 KB

trying URL 'http://cran.univ-paris1.fr/bin/windows/contrib/3.5/quantreg_5.38.zip'
Content type 'application/zip' length 2297173 bytes (2.2 MB)
downloaded 2.2 MB

package ‘miniUI’ successfully unpacked and MD5 sums checked
package ‘webshot’ successfully unpacked and MD5 sums checked
package ‘sp’ successfully unpacked and MD5 sums checked
package ‘crosstalk’ successfully unpacked and MD5 sums checked
package ‘manipulateWidget’ successfully unpacked and MD5 sums checked
package ‘SparseM’ successfully unpacked and MD5 sums checked
package ‘MatrixModels’ successfully unpacked and MD5 sums checked
package ‘tripack’ successfully unpacked and MD5 sums checked
package ‘akima’ successfully unpacked and MD5 sums checked
package ‘rgl’ successfully unpacked and MD5 sums checked
package ‘logspline’ successfully unpacked and MD5 sums checked
package ‘nor1mix’ successfully unpacked and MD5 sums checked
package ‘Formula’ successfully unpacked and MD5 sums checked
package ‘quantreg’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\dondon\AppData\Local\Temp\RtmpykajX5\downloaded_packages
> library(quantreg)
Loading required package: SparseM

Attaching package: ‘SparseM’

The following object is masked from ‘package:base’:

    backsolve

> 

Cordialement,

thomasbb

C’est l’installation qui ne marche pas :

ERROR: dependency ‘SparseM’ is not available for package ‘quantreg’
* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.6/quantreg’
thomasbb

C’est réglé : manuellement

thomasbb

Le package gcc-fortran n’était pas installé sur ma machine et c’est ce qui bloquait l’installation de quantreg dans R.