簡體   English   中英

來自devtools / github install的R中的Rtools和untar2預熱消息

[英]Rtools and untar2 warming message in R from devtools/github install

我正在開發一個將在github上可用的R包,但是當我使用devtools :: install_github在另一台計算機上進行測試下載/安裝時,我收到以下警告消息。 該軟件包似乎可以正常工作,但是如果人們在安裝時未收到警告,則希望使用該軟件包。 是什么引起這些警告,我可以修改我的軟件包以避免它們嗎?

另外,似乎它正在下載軟件包的開發版本,而不只是下載軟件包本身(我懷疑我的設置有誤)。

以下是警告:

警告:Rtools是構建R軟件包所必需的,但當前尚未安裝。

在R CMD INSTALL中警告消息:1:在untar2(tarfile,文件,列表,exdir)中:跳過pax全局擴展頭2:在untar2(tarfile,文件,列表,exdir)中:跳過pax全局擴展頭

更新:重新安裝Rtools修復了Rtools警告,但untar2警告不是此包https://github.com/donaldtmcknight/microDecon

@ yt1300:我無法重現您的警告。

devtools::install_github("donaldtmcknight/microDecon")
#> Downloading GitHub repo donaldtmcknight/microDecon@master
#>   
   checking for file ‘/tmp/RtmphWCjio/remotes2d475ebd1f6/donaldtmcknight-microDecon-78f3757/DESCRIPTION’ ...

✔  checking for file ‘/tmp/RtmphWCjio/remotes2d475ebd1f6/donaldtmcknight-microDecon-78f3757/DESCRIPTION’
#> 

─  preparing ‘microDecon’:
#> 

   checking DESCRIPTION meta-information ...

✔  checking DESCRIPTION meta-information
#> 

─  checking for LF line-endings in source and make files and shell scripts
#> 

─  checking for empty or unneeded directories
#> ─  looking to see if a ‘data/datalist’ file should be added
#> 

─  building ‘microDecon_1.0.0.tar.gz’
#> 


#> 
#> Installing package into '/home/rmagno/R/x86_64-pc-linux-gnu-library/3.5'
#> (as 'lib' is unspecified)
library(microDecon)
sessionInfo()
#> R version 3.5.1 (2018-07-02)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Arch Linux
#> 
#> Matrix products: default
#> BLAS: /usr/lib/libblas.so.3.8.0
#> LAPACK: /usr/lib/liblapack.so.3.8.0
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=en_DK.utf8         LC_COLLATE=en_US.UTF-8    
#>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] microDecon_1.0.0
#> 
#> loaded via a namespace (and not attached):
#>  [1] Rcpp_1.0.0        knitr_1.20        magrittr_1.5     
#>  [4] usethis_1.4.0     devtools_2.0.1    pkgload_1.0.2    
#>  [7] R6_2.3.0          rlang_0.3.0.1     stringr_1.3.1    
#> [10] tools_3.5.1       pkgbuild_1.0.2    sessioninfo_1.1.1
#> [13] cli_1.0.1         withr_2.1.2       remotes_2.0.2    
#> [16] htmltools_0.3.6   yaml_2.2.0        assertthat_0.2.0 
#> [19] rprojroot_1.3-2   digest_0.6.18     crayon_1.3.4     
#> [22] processx_3.2.0    callr_3.0.0       fs_1.2.6         
#> [25] base64enc_0.1-3   ps_1.2.1          curl_3.2         
#> [28] testthat_2.0.1    glue_1.3.0        memoise_1.1.0    
#> [31] evaluate_0.12     rmarkdown_1.10    stringi_1.2.4    
#> [34] compiler_3.5.1    desc_1.2.0        backports_1.1.2  
#> [37] prettyunits_1.0.2

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM