archer-yang-lab / gglasso

Automatically exported from code.google.com/p/gglasso
GNU General Public License v2.0
10 stars 5 forks source link

installation fails #7

Closed saberpowers closed 4 years ago

saberpowers commented 6 years ago
> pacman::p_install_gh("emeryyi/gglasso")
#Downloading GitHub repo emeryyi/gglasso@master
#from URL https://api.github.com/repos/emeryyi/gglasso/zipball/master
#Installing gglasso
#'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ  \
#  --no-save --no-restore --quiet CMD INSTALL  \
#  #'/private/var/folders/f4/l5k7t0ws2tgfq_51rg_dzs2m0000gn/T/Rtmp7v9Dty/devtools97be117af3b0/emer#yyi-gglasso-7f0fc83'  \
#  --library='/Library/Frameworks/R.framework/Versions/3.3/Resources/library'  \
#  --install-tests 
#
#* installing *source* package ‘gglasso’ ...
#** libs
#gfortran-4.8  -fPIC -Wall -g -O2  -c  gglasso.f90 -o gglasso.o
#make: gfortran-4.8: No such file or directory
#make: *** [gglasso.o] Error 1
#ERROR: compilation failed for package ‘gglasso’
#* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/gglasso’
#Error: Command failed (1)
>
> sessionInfo()
#R version 3.3.2 (2016-10-31)
#Platform: x86_64-apple-darwin13.4.0 (64-bit)
#Running under: OS X Yosemite 10.10.5
#
#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] httr_1.2.0      R6_2.2.2        tools_3.3.2     withr_1.0.2    
# [5] curl_0.9.7      memoise_1.1.0   knitr_1.15.1    git2r_0.15.0   
# [9] digest_0.6.13   pacman_0.4.6    devtools_1.13.5
sahirbhatnagar commented 6 years ago

thanks for reporting this issue. we are working to fix it. please use the stable version on CRAN for now.

install.packages("gglasso")
saberpowers commented 6 years ago

Thanks for the quick response! It looks like the stable version does not offer the option of specifying observation weights, which I would very much like to do.

sahirbhatnagar commented 6 years ago

that's correct. we recently implemented observation weights, but for least squares loss only. we also only have it working for gglasso, but not yet implemented for cv.gglasso. We are working on the fix