KasperSkytte / ampvis2

Tools for visualising microbial community amplicon data
https://kasperskytte.github.io/ampvis2/
GNU General Public License v3.0
66 stars 23 forks source link

Cannot install package succesfully #108

Closed xkcococo closed 3 years ago

xkcococo commented 3 years ago

Hi, I am trying to install this package but the error message is:

remotes::install_github("MadsAlbertsen/ampvis2")
Downloading GitHub repo MadsAlbertsen/ampvis2@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                                         
2: CRAN packages only                          
3: None                                        
4: biomformat (1.18.0 -> 4e13f6fb3...) [GitHub]

Enter one or more numbers, or an empty line to skip updates:3
Downloading GitHub repo kasperskytte/ggnet@HEAD
Skipping 4 packages not available: sna, scales, network, ggplot2
✓  checking for file ‘/private/var/folders/7y/8mn44j6x3h9c_chht65l9nrwzs2kmh/T/RtmpDXc4x2/remotes30fc0ab2f5/KasperSkytte-ggnet-da9a7cf/DESCRIPTION’ ...
─  preparing ‘ggnet’:
✓  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘ggnet_0.1.0.tar.gz’
   Warning: invalid uid value replaced by that for user 'nobody'
   Warning: invalid gid value replaced by that for user 'nobody'

ERROR: dependencies ‘network’, ‘sna’ are not available for package ‘ggnet’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/ggnet’
Error: Failed to install 'ampvis2' from GitHub:
  Failed to install 'ggnet' from GitHub:
  (converted from warning) installation of package ‘/var/folders/7y/8mn44j6x3h9c_chht65l9nrwzs2kmh/T//RtmpDXc4x2/file30f126af900/ggnet_0.1.0.tar.gz’ had non-zero exit status

Is there ant way to have tar.gz file to install it?

Thanks in advance.

KasperSkytte commented 3 years ago

Hi there. Try updating all. If that doesn't work, install the failed dependencies manually, one by one, to see why they fail. I'm not sure about the cause of your problem.