Lchiffon/REmap

REmap 安装不上,一直提示cannot remove prior installation of package ‘digest’

SKingNight opened this issue · 4 comments

digest (NA -> 0.6.22) [CRAN]
Rcpp (1.0.2 -> 1.0.3 ) [CRAN]
Installing 2 packages: digest, Rcpp
试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.6/digest_0.6.22.zip'
Content type 'application/zip' length 242625 bytes (236 KB)
downloaded 236 KB

试开URL’https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/windows/contrib/3.6/Rcpp_1.0.3.zip'
Content type 'application/zip' length 2996604 bytes (2.9 MB)
downloaded 2.9 MB

package ‘digest’ successfully unpacked and MD5 sums checked
错误: Failed to install 'REmap' from GitHub:
(由警告转换成)cannot remove prior installation of package ‘digest’
此外: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers

R 版本3.6.1

可以下载zip安装

🇨🇳: 参照 aoles/EBImage#56 (comment) 即可安装成功。
🇬🇧: Installed by refer to aoles/EBImage#56 (comment)

引用:Rdatatable/data.table#5030 (comment)

其它案例:YvesCR/arimaUI#3

🚩🇨🇳🏹红旗中科 RedFlag Linux (🍥Debian 11)

scibrokes/owner#4
https://github.com/englianhu/REmap
scibrokes/r-world#1

:~$ neofetch
        #####           englianhu@Scibrokes 
       #######          ------------------- 
       ##O#O##          OS: RedFlag Desktop 11.0 x86_64 
       #######          Host: 23-p080d 
     ###########        Kernel: 5.10.0-1-amd64 
    #############       Uptime: 1 hour, 37 mins 
   ###############      Packages: 4254 (dpkg), 3 (snap) 
   ################     Shell: bash 5.0.3 
  #################     Resolution: 1920x1080 
#####################   DE: KDE 
#####################   WM: KWin 
  #################     Theme: RedFlag Dark [KDE], Breeze [GTK3] 
                        Icons: RedFlag-ND-72th-Anniversary [KDE], breeze [GTK3] 
                        Terminal: konsole 
                        CPU: Intel i5-4590T (4) @ 3.000GHz 
                        GPU: NVIDIA GeForce 710M 
                        GPU: Intel HD Graphics 
                        Memory: 5105MiB / 15901MiB 

                                                
:~$ sudo su - -c "R -e \"devtools::install_github('lchiffon/REmap', force=TRUE)\"" 

R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R是自由软件,不带任何担保。
在某些条件下你可以将其自由散布。
用'license()''licence()'来看散布的详细条件。

R是个合作计划,有许多人为之做出了贡献.'contributors()'来看合作者的详细情况
用'citation()'会告诉你如何在出版物中正确地引用RR程序包。

用'demo()'来看一些示范程序,用'help()'来阅读在线帮助文件,或
用'help.start()'通过HTML浏览器来看帮助文件。
用'q()'退出R.

> devtools::install_github('lchiffon/REmap', force=TRUE)
Downloading GitHub repo lchiffon/REmap@HEAD

   checking for file/tmp/Rtmpbpniql/remotes46e13d7829bc/Lchiffon-REmap-823bade/checking for file/tmp/Rtmpbpniql/remotes46e13d7829bc/Lchiffon-REmap-823bade/DESCRIPTION’                                                                     
─  preparingREmap:checking DESCRIPTION meta-information ...checking for LF line-endings in source and make files and shell scriptschecking for empty or unneeded directories
     NB: this package now depends on R (>= 3.5.0)
     WARNING: Added dependency on R >= 3.5.0 because serialized objects in
     serialize/load version 3 cannot be read in older versions of R.
     File(s) containing such objects:REmap/data/REmapCityGeo.rda’
─  buildingREmap_0.3.2.tar.gz’
   
将程序包安装入‘/usr/lib/R/library’
(因为‘lib’没有被指定)
* installing *source* packageREmap...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (REmap)