Git Product home page Git Product logo

gpart's People

Watchers

 avatar

gpart's Issues

fail to install Ubuntu 20.04, R 4.1.2

HI there

Thanks for the package. Any idea what's going wrong here?

Thanks
Matt

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

replacement repositories:
    CRAN: https://cloud.r-project.org

Bioconductor version 3.14 (BiocManager 1.30.16), R 4.1.2 (2021-11-01)
Installing package(s) 'gpart'
trying URL 'https://bioconductor.org/packages/3.14/bioc/src/contrib/gpart_1.12.0.tar.gz'
Content type 'application/x-gzip' length 1146670 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

* installing *source* package ‘gpart’ ...
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG  -I'/home/mshenton/analysis/LDblocker/renv/library/R-4.1/x86_64-pc-linux-gnu/Rcpp/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG  -I'/home/mshenton/analysis/LDblocker/renv/library/R-4.1/x86_64-pc-linux-gnu/Rcpp/include'    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c gpart_cpp.cpp -o gpart_cpp.o
gpart_cpp.cpp: In function ‘uint32_t cubic_real_roots(double, double, double, Rcpp::NumericVector)’:
gpart_cpp.cpp:622:42: error: ‘PI’ was not declared in this scope
  622 |     solutions[1] = sq * cos(dxx + (2.0 * PI / 3.0)) - adiv3;
      |                                          ^~
make: *** [/usr/lib/R/etc/Makeconf:177: gpart_cpp.o] Error 1
ERROR: compilation failed for package ‘gpart’
* removing ‘/home/mshenton/analysis/LDblocker/renv/library/R-4.1/x86_64-pc-linux-gnu/gpart’

The downloaded source packages are in
	‘/tmp/RtmpThlzSm/downloaded_packages’
Warning message:
In .inet_warning(msg) :
  installation of package ‘gpart’ had non-zero exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.