REmap icon indicating copy to clipboard operation
REmap copied to clipboard

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

Open SKingNight opened this issue 6 years ago • 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

SKingNight avatar Nov 20 '19 08:11 SKingNight

R 版本3.6.1

SKingNight avatar Nov 20 '19 08:11 SKingNight

可以下载zip安装

SuperFrank08 avatar Nov 22 '19 08:11 SuperFrank08

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

引用:https://github.com/Rdatatable/data.table/issues/5030#issuecomment-1147151337

其它案例:https://github.com/YvesCR/arimaUI/issues/3

englianhu avatar Jun 06 '22 15:06 englianhu

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

https://github.com/scibrokes/owner/issues/4 https://github.com/englianhu/REmap https://github.com/scibrokes/r-world/issues/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()'会告诉你如何在出版物中正确地引用R或R程序包。

用'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’                                                                     
─  preparing ‘REmap’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking 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’
─  building ‘REmap_0.3.2.tar.gz’
   
将程序包安装入‘/usr/lib/R/library’
(因为‘lib’没有被指定)
* installing *source* package ‘REmap’ ...
** 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)

englianhu avatar Aug 29 '22 15:08 englianhu