Comments (4)
The gcc
on tesla is so, so old.
Can you try module load gcc
and build with g++-5
?
from valr.
Mmmm... still doesn't work. Here is what I tried:
- update R to version 3.3.0 (2016-05-03)
- tried install via
devtools::install_github('jayhesselberth/valr')
and got same error - tried
module load gcc
- build still fails
$ which g++
/vol1/software/modules-sw/gcc/5.1.0/bin/g++
\> devtools::install_github('jayhesselberth/valr')
Downloading GitHub repo jayhesselberth/valr@master
from URL https://api.github.com/repos/jayhesselberth/valr/zipball/master
Installing valr
Skipping install for github remote, the SHA1 (9ebfca76) has not changed since last install.
Use `force = TRUE` to force installation
Skipping 2 packages ahead of CRAN: dplyr, tibble
'/vol4/home/astlingd/R/lib64/R/bin/R' --no-site-file --no-environ --no-save \
--no-restore --quiet CMD INSTALL \
'/tmp/RtmpmwfQ4W/devtools69a4fee91a6/jayhesselberth-valr-4e430f0' \
--library='/vol4/home/astlingd/R/lib64/R/library' --install-tests
* installing *source* package ‘valr’ ...
** libs
g++ -std=c++0x -I/vol4/home/astlingd/R/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/vol4/home/astlingd/R/lib64/R/library/Rcpp/include" -I"/vol4/home/astlingd/R/lib64/R/library/BH/include" -I"/vol4/home/astlingd/R/lib64/R/library/dplyr/include" -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
In file included from ../inst/include/valr.h:6:0,
from RcppExports.cpp:4:
../inst/include/IntervalTree.h: In constructor ‘IntervalTree<T, K>::IntervalTree(IntervalTree<T, K>::intervalVector&, std::size_t, std::size_t, K, K, std::size_t’:
../inst/include/IntervalTree.h:140:37: error: use of ‘this’ in a constant expression
if (interval.stop < center) {
^
../inst/include/IntervalTree.h:140:30: error: parse error in template argument list
if (interval.stop < center) {
^
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘valr’
* removing ‘/vol4/home/astlingd/R/lib64/R/library/valr’
Error: Command failed (1)
> devtools::session_info()
Session info -------------------------------------------------------------------
setting value
version R version 3.3.0 (2016-05-03)
system x86_64, linux-gnu
ui X11
language (EN)
collate en_US.UTF-8
tz <NA>
date 2016-05-15
Packages -----------------------------------------------------------------------
package * version date source
curl 0.9.7 2016-04-10 CRAN (R 3.2.3)
devtools 1.11.1 2016-04-21 CRAN (R 3.2.3)
digest 0.6.9 2016-01-08 CRAN (R 3.2.2)
git2r 0.14.0 2016-03-13 CRAN (R 3.2.3)
httr 1.1.0 2016-01-28 CRAN (R 3.2.3)
memoise 1.0.0 2016-01-29 CRAN (R 3.2.3)
R6 2.1.2 2016-01-26 CRAN (R 3.2.3)
withr 1.0.1 2016-02-04 CRAN (R 3.2.3)
from valr.
valr
compiles cleanly with clang++, so OS X may be the only option until I get some time to appease the g++ compiler.
from valr.
valr
should be installable on Linux with clang++ >= 3.7
See build log at https://travis-ci.org/jayhesselberth/valr/jobs/148445783
from valr.
Related Issues (20)
- unexpected behavior when intersecting three tibbles HOT 2
- Release valr 0.6.4 HOT 9
- Multiple tag pairs from same tag missed in read_gtf() HOT 2
- bed_random Error: `length` must be greater than all chrom sizes HOT 5
- bed_cluster grouping different contigs together HOT 2
- Release valr 0.6.5 HOT 2
- update message and errors with cli
- Release valr 0.6.6 HOT 1
- chrom in x missing in y is dropped from bed_coverage output HOT 2
- Release valr 0.6.7 HOT 1
- warning with new dplyr?
- bed_cluster creates different clusters when other intervals included HOT 6
- Release valr 0.6.8
- multiIntersectBed like function HOT 4
- Release valr 0.7.0 HOT 1
- genomecov function HOT 4
- [bed_intersect] consider warning user when input data is passed multiple times through %>% operator HOT 1
- Release valr 0.8.0 HOT 1
- Not getting desired output from bed_makewindows! HOT 4
- Release valr 0.8.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valr.