jmonlong / sveval

Functions to compare a SV call sets against a truth set.
MIT License
26 stars 6 forks source link

installation issues #16

Open kerstinth opened 2 years ago

kerstinth commented 2 years ago

Hi,

I keep getting the following error when trying to install the package. Could you help me with this please?

Best Wishes Kerstin

> BiocManager::install('jmonlong/sveval')
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories:
    CRAN: https://cran.rstudio.com/

Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23)
Installing github package(s) 'jmonlong/sveval'
Downloading GitHub repo jmonlong/sveval@HEAD
Skipping 1 packages ahead of CRAN: lifecycle
✔  checking for file ‘/private/var/folders/0z/hths1pn52h5536ml4ynhvrx40000gn/T/RtmpQ1V5uQ/remotes1345c15f5f760/jmonlong-sveval-55cc2e4/DESCRIPTION’ ...
─  preparing ‘sveval’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘sveval_2.2.0.tar.gz’

* installing *source* package ‘sveval’ ...
** using staged installation
** libs
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c aldist.cpp -o aldist.o
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c edlib.cpp -o edlib.o
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c gzstream.cpp -o gzstream.o
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I/usr/local/include   -fPIC  -Wall -g -O2  -c merge-ac-svsites.cpp -o merge-ac-svsites.o
merge-ac-svsites.cpp:23:62: error: a space is required between consecutive right angle brackets (use '> >')
    std::vector<std::string> svs = as<std::vector<std::string>>(sv_sites[ii]);
                                                             ^~
                                                             > >
merge-ac-svsites.cpp:204:62: error: a space is required between consecutive right angle brackets (use '> >')
    std::vector<std::string> svs = as<std::vector<std::string>>(sv_sites[ii]);
                                                             ^~
                                                             > >
2 errors generated.
make: *** [merge-ac-svsites.o] Error 1
ERROR: compilation failed for package ‘sveval’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/sveval’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/0z/hths1pn52h5536ml4ynhvrx40000gn/T//RtmpQ1V5uQ/file1345c4743cae3/sveval_2.2.0.tar.gz’ had non-zero exit status
netwon123 commented 1 year ago

could u solve this error?