pak icon indicating copy to clipboard operation
pak copied to clipboard

Download size is NA when github package is downloaded

Open ShixiangWang opened this issue 3 years ago • 3 comments

✓ 1 pkg + 68 deps: kept 48, upd 1, added 20, dld 21 (NA B) [3m 30.2s]   

More info:

> pak::pkg_install("rstudio/shinytest2")
                                                                           
→ Will install 20 packages.                                                
→ Will update 1 package.                                                   
→ Will download 18 CRAN packages (13.97 MB).                               
→ Will download 3 packages with unknown size.                              
+ checkmate          2.1.0      [bld][cmp][dl] (168.72 kB)                 
+ chromote           0.1.0      [bld][cmp][dl] (GitHub: 1884e3b)
+ crayon             1.5.1      [bld][dl] (40.18 kB)
+ curl               4.3.2      [bld][cmp][dl] (793.35 kB)
+ ellipsis           0.3.2      [bld][cmp][dl] (8.07 kB)
+ fansi              1.0.3      [bld][cmp][dl] (481.16 kB)
+ glue               1.6.2      [bld][cmp][dl] (106.51 kB)
+ jsonlite           1.8.0      [bld][cmp][dl] (1.05 MB)
+ lifecycle          1.0.1      [bld][dl] (99.72 kB)
+ magrittr           2.0.3      [bld][cmp][dl] (267.07 kB)
+ pillar             1.7.0      [bld][dl] (529.67 kB)
+ pkgconfig          2.0.3      [bld][dl] (6.08 kB)
+ R6                 2.5.1      [bld][dl] (63.42 kB)
+ rlang              1.0.2      [bld][cmp][dl] (724.83 kB)
+ shiny      1.7.1 → 1.7.1.9003 [bld][cmp][dl] (GitHub: fd75180)
+ shinytest2         0.0.0.9002 [bld][cmp][dl] (GitHub: cc99e17)
+ stringi            1.7.6      [bld][cmp][dl] (7.60 MB)
+ stringr            1.4.0      [bld][dl] (135.78 kB)
+ tibble             3.1.6      [bld][cmp][dl] (739.35 kB)
+ utf8               1.2.2      [bld][cmp][dl] (240.33 kB)
+ vctrs              0.4.1      [bld][cmp][dl] (916.78 kB)
                                                                           
! shiny is loaded in the current R session, you probably need to restart R 
after the installation.
                                                                           
 Found  6  deps for  1/1  pkgs [⠦] Resolving standard (CRAN/BioC) packages
? Do you want to continue (Y/n) y
ℹ Getting 18 pkgs (13.97 MB) and 3 pkgs with unknown sizes                 
✓ Got crayon 1.5.1 (source) (40.18 kB)                                           
✓ Got checkmate 2.1.0 (source) (170.03 kB)                                       
✓ Got pkgconfig 2.0.3 (source) (6.08 kB)                                         
✓ Got lifecycle 1.0.1 (source) (99.72 kB)                                        
✓ Got glue 1.6.2 (source) (106.51 kB)                                            
✓ Got rlang 1.0.2 (source) (724.83 kB)                                           
✓ Got curl 4.3.2 (source) (793.35 kB)                                            
✓ Got ellipsis 0.3.2 (source) (8.07 kB)                                          
✓ Got chromote 0.1.0 (source) (124.45 kB)                                        
✓ Got vctrs 0.4.1 (source) (916.78 kB)                                           
✓ Got pillar 1.7.0 (source) (529.67 kB)                                          
✓ Got magrittr 2.0.3 (source) (267.07 kB)                                        
✓ Got utf8 1.2.2 (source) (240.33 kB)                                            
✓ Got R6 2.5.1 (source) (63.42 kB)                                               
✓ Got fansi 1.0.3 (source) (481.16 kB)                                           
✓ Got jsonlite 1.8.0 (source) (1.05 MB)                                          
✓ Got tibble 3.1.6 (source) (739.35 kB)                                          
✓ Got stringr 1.4.0 (source) (135.78 kB)                                         
✓ Got shiny 1.7.1.9003 (source) (3.87 MB)                                        
✓ Got stringi 1.7.6 (source) (7.60 MB)                                          
✓ Got shinytest2 0.0.0.9002 (source) (4.86 MB)                  
✓ Downloaded 21 packages (22.83 MB)in 13.8s                                
ℹ Building checkmate 2.1.0                                                
ℹ Building crayon 1.5.1
ℹ Building curl 4.3.2
ℹ Building fansi 1.0.3
ℹ Building glue 1.6.2
ℹ Building jsonlite 1.8.0
ℹ Building magrittr 2.0.3
ℹ Building pkgconfig 2.0.3
ℹ Building R6 2.5.1
ℹ Building rlang 1.0.2
ℹ Building stringi 1.7.6
ℹ Building utf8 1.2.2
✓ Built pkgconfig 2.0.3 (3.5s)                      
✓ Installed pkgconfig 2.0.3  (111ms)                
✓ Built R6 2.5.1 (3.7s)                             
✓ Installed R6 2.5.1  (118ms)                       
✓ Built crayon 1.5.1 (5s)                           
✓ Installed crayon 1.5.1  (180ms)                  
✓ Built magrittr 2.0.3 (5.7s)                      
✓ Installed magrittr 2.0.3  (156ms)                
✓ Built glue 1.6.2 (6.3s)                          
✓ Installed glue 1.6.2  (154ms)                    
✓ Built checkmate 2.1.0 (14.1s)                    
✓ Installed checkmate 2.1.0  (186ms)               
✓ Built fansi 1.0.3 (15.4s)                        
✓ Installed fansi 1.0.3  (131ms)                   
✓ Built utf8 1.2.2 (15s)                           
✓ Installed utf8 1.2.2  (125ms)                    
✓ Built curl 4.3.2 (16.3s)                         
✓ Installed curl 4.3.2  (182ms)                    
✓ Built jsonlite 1.8.0 (16.6s)                     
✓ Installed jsonlite 1.8.0  (224ms)                                     
✓ Built rlang 1.0.2 (20s)                                                 
✓ Installed rlang 1.0.2  (275ms)                                        
ℹ Packaging chromote 0.1.0                         
ℹ Building ellipsis 0.3.2                                                    
ℹ Building lifecycle 1.0.1                                                 
ℹ Building vctrs 0.4.1                             
✓ Packaged chromote 0.1.0 (997ms)                  
ℹ Building chromote 0.1.0                          
✓ Built lifecycle 1.0.1 (3.2s)                     
✓ Installed lifecycle 1.0.1  (284ms)               
✓ Built ellipsis 0.3.2 (4.1s)                      
✓ Installed ellipsis 0.3.2  (236ms)                
ℹ Packaging shiny 1.7.1.9003                       
✓ Built chromote 0.1.0 (7.7s)                      
✓ Installed chromote 0.1.0 (github::rstudio/chromote@1884e3b) (122ms)          
✓ Packaged shiny 1.7.1.9003 (23.1s)                                              
ℹ Building shiny 1.7.1.9003                                                      
✓ Built vctrs 0.4.1 (39.3s)                                                      
✓ Installed vctrs 0.4.1  (211ms)                                               
ℹ Building pillar 1.7.0                            
✓ Built shiny 1.7.1.9003 (17.1s)                                                 
✓ Built pillar 1.7.0 (5.2s)                                                    
✓ Installed pillar 1.7.0  (240ms)                  
ℹ Building tibble 3.1.6                            
✓ Installed shiny 1.7.1.9003 (github::rstudio/shiny@fd75180) (6.8s)
✓ Built tibble 3.1.6 (6.8s)                                                
✓ Installed tibble 3.1.6  (239ms)                                        
✓ Built stringi 1.7.6 (2m 25.8s)                                   
✓ Installed stringi 1.7.6  (139ms)                                   
ℹ Building stringr 1.4.0                                             
✓ Built stringr 1.4.0 (2.9s)                                       
✓ Installed stringr 1.4.0  (230ms)                                   
ℹ Packaging shinytest2 0.0.0.9002                                    
✓ Packaged shinytest2 0.0.0.9002 (1.3s)                               
ℹ Building shinytest2 0.0.0.9002                                      
✓ Built shinytest2 0.0.0.9002 (6.2s)                                  
✓ Installed shinytest2 0.0.0.9002 (github::rstudio/shinytest2@cc99e17) (155ms)
✓ 1 pkg + 68 deps: kept 48, upd 1, added 20, dld 21 (NA B) [3m 30.2s]      
 Found  6  deps for  1/1  pkgs [⠦] Resolving standard (CRAN/BioC) packages

ShixiangWang avatar Apr 22 '22 05:04 ShixiangWang

It is also strange to report [⠦] Resolving standard (CRAN/BioC) packages in the last line, as it seems something is ongoing, however, the installation is finished.

ShixiangWang avatar Apr 22 '22 05:04 ShixiangWang

There is no way to know the size of GitHub packages.

gaborcsardi avatar Apr 22 '22 07:04 gaborcsardi

@gaborcsardi Maybe combine the information as the beginning message?

Will download 18 CRAN packages (13.97 MB).                            
→ Will download 3 packages with unknown size. 

So to:

dld 21 ([CRAN] 13.97MB + [GitHub] Unknown)

ShixiangWang avatar Apr 22 '22 08:04 ShixiangWang