datasketch / hgchmagic

https://datasketch.github.io/hgchmagic/
Other
3 stars 7 forks source link

ERRORS: solve asap in install_github("datasketch/hgchmagic") #115

Closed johnfelipe closed 1 year ago

johnfelipe commented 2 years ago
runApp('app')
It seems that the version of `phantomjs` installed is greater than or equal to the requested version.To install the requested version or downgrade to another version, use `force = TRUE`.
Error in library(hgchmagic) : there is no package called ‘hgchmagic

and this happend when try install

install_github("datasketch/hgchmagic")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo datasketch/hgchmagic@HEAD
Downloading GitHub repo datasketch/paletero@HEAD
✔  checking for file ‘/tmp/RtmptA5DRF/remotesf861e6cefd8/datasketch-paletero-2e25920/DESCRIPTION’ ...
─  preparing ‘paletero’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘paletero_0.1.0.tar.gz’

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘paletero’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/usr/local/lib/R/site-library/magick/libs/magick.so':
  libMagick++-6.Q16.so.8: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘paletero’
* removing ‘/usr/local/lib/R/site-library/paletero’
Downloading GitHub repo datasketch/dsvizprep@HEAD
Downloading GitHub repo datasketch/geodata@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/datasketch/geodata/tarball/HEAD' failed
In addition: Warning message:
In i.p(...) :
  installation of package ‘/tmp/RtmptA5DRF/filef86314a7fd0/paletero_0.1.0.tar.gz’ had non-zero exit status
Downloading GitHub repo datasketch/geodata@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from 'https://api.github.com/repos/datasketch/geodata/tarball/HEAD' failed
✔  checking for file ‘/tmp/RtmptA5DRF/remotesf862710f9cc/datasketch-dsvizprep-9e38e41/DESCRIPTION’ ...
─  preparing ‘dsvizprep’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘dsvizprep_0.1.0.tar.gz’

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
ERROR: dependency ‘geodata’ is not available for package ‘dsvizprep’
* removing ‘/usr/local/lib/R/site-library/dsvizprep’
Installing 1 packages: highcharter
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://packagemanager.rstudio.com/cran/__linux__/focal/latest/src/contrib/highcharter_0.9.4.tar.gz'
Content type 'binary/octet-stream' length 1078067 bytes (1.0 MB)
==================================================
downloaded 1.0 MB

* installing *source* package ‘highcharter’ ...
** package ‘highcharter’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/usr/local/lib/R/site-library/igraph/libs/igraph.so':
  libxml2.so.2: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘highcharter’
* removing ‘/usr/local/lib/R/site-library/highcharter’

The downloaded source packages are in
    ‘/tmp/RtmptA5DRF/downloaded_packages’
Downloading GitHub repo datasketch/paletero@HEAD
Skipping paletero, it is already being installed
Downloading GitHub repo datasketch/dsvizprep@HEAD
Skipping dsvizprep, it is already being installed
✔  checking for file ‘/tmp/RtmptA5DRF/remotesf863c5fa06b/datasketch-hgchmagic-a3a2951/DESCRIPTION’ ...
─  preparing ‘hgchmagic’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘hgchmagic_1.0.0.tar.gz’

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
ERROR: dependencies ‘highcharter’, ‘paletero’, ‘dsvizprep’ are not available for package ‘hgchmagic’
* removing ‘/usr/local/lib/R/site-library/hgchmagic’
Warning messages:
1: In i.p(...) :
  installation of package ‘/tmp/RtmptA5DRF/filef861255c8cc/dsvizprep_0.1.0.tar.gz’ had non-zero exit status
2: In i.p(...) :
  installation of package ‘highcharter’ had non-zero exit status
3: In i.p(...) :
  installation of package ‘/tmp/RtmptA5DRF/filef8612b2d037/hgchmagic_1.0.0.tar.gz’ had non-zero exit status