drieslab / GiottoUtils

https://drieslab.github.io/GiottoUtils/
Other
2 stars 11 forks source link

Install error: error in `stop_task_build(state, worker)` #79

Closed GBeattie closed 4 months ago

GBeattie commented 4 months ago

Hi,

I've just tried installing Giotto, however an issue arose when it came to install GiottoUtils, I tried a standalone installation and got the same error:

> pak::pak("drieslab/GiottoUtils")

β†’ Will install 1 package.
β†’ Will download 1 package with unknown size.
+ GiottoUtils   0.1.7 πŸ‘·πŸ”§ ⬇ (GitHub: ee53192)
β„Ή Getting 1 pkg with unknown size
βœ” Cached copy of GiottoUtils 0.1.7 (source) is the latest build
βœ” No downloads needed, all packages are cached
β„Ή Building GiottoUtils 0.1.7
βœ– Failed to build GiottoUtils 0.1.7 (708ms)                          
Error:                                                               
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package GiottoUtils.
Type .Last.error to see the more details.

And here is the session info immediately after running he above:

R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 12.5.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] processx_3.5.2  compiler_4.1.0  R6_2.5.0        cli_3.0.1       tools_4.1.0     rstudioapi_0.14
[7] callr_3.7.0     ps_1.6.0        pak_0.7.2      

Thanks in advance for any assistance!

jiajic commented 4 months ago

Hi @GBeattie,

Could you give it another try? I think it might have been fixed after #80 was merged.

Thanks, George

GBeattie commented 4 months ago

Thanks @jiajic, GiottoUtils now installing fine, unfortunately getting the same error now with terra, I'll raise an issue with them.

> # Ensure Giotto Suite is installed.
> if(!"Giotto" %in% installed.packages()) {
+   pak::pkg_install("drieslab/Giotto")
+ }

β†’ Will install 4 packages.
β†’ Will update 1 package.
β†’ Will download 4 packages with unknown size.
+ Giotto                4.0.6  πŸ‘·β€β™€οΈπŸ”§ ⬇ (GitHub: 621cde5)
+ GiottoClass           0.3.0  πŸ‘·πŸΎπŸ”§ ⬇ (GitHub: a7bf852)
+ GiottoUtils           0.1.7  πŸ‘·πŸΌβ€β™€οΈπŸ”§ ⬇ (GitHub: f22b075)
+ GiottoVisuals         0.2.0  πŸ‘·πŸΌπŸ”§ ⬇ (GitHub: 73907f7)
+ terra         1.6-7 β†’ 1.7-71 πŸ‘·πŸ½β€β™‚οΈπŸ”§
? Do you want to continue (Y/n) Y
β„Ή Getting 4 pkgs with unknown sizes, 1 (836.57 kB) cached
βœ” Got GiottoUtils 0.1.7 (source) (129.56 kB)                                                          
βœ” Got GiottoVisuals 0.2.0 (source) (420.95 kB)                                                       
βœ” Got Giotto 4.0.6 (source) (653.22 kB)                                                 
βœ” Got GiottoClass 0.3.0 (source) (1.03 MB)                                
βœ” Downloaded 4 packages (2.23 MB) in 4.5s                                
β„Ή Packaging GiottoUtils 0.1.7
β„Ή Building terra 1.7-71
βœ” Packaged GiottoUtils 0.1.7 (1.5s)                                               
β„Ή Building GiottoUtils 0.1.7                                                      
βœ– Failed to build terra 1.7-71 (4.1s)                                             
Error:                                                                            
! error in pak subprocess
Caused by error in `stop_task_build(state, worker)`:
! Failed to build source package terra.
Type .Last.error to see the more details.