Code Monkey home page Code Monkey logo

Comments (7)

alexanderrobitzsch avatar alexanderrobitzsch commented on September 26, 2024

I am not able to replicate the bug (admittedly, I do not use Rstudio for package building). I did a CRAN check of the recent package version and did not obtain errors.

from miceadds.

stefvanbuuren avatar stefvanbuuren commented on September 26, 2024

OK, thanks. Will try to fiddle around it.

from miceadds.

stefvanbuuren avatar stefvanbuuren commented on September 26, 2024

On miceadds 2.11-77 I still get (with mice 2.47.1.9112)

* installing *source* package ‘miceadds’ ...
** libs
clang++  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I"/Users/buurensv/Library/R/3.4/library/Rcpp/include"  I"/Users/buurensv/Library/R/3.4/library/RcppArmadillo/include" -I/usr/local/include   -fPIC  -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
RcppExports.cpp:733:77: error: address of overloaded function 'ma_pmm6_C' does not match required type 'void *()'
    {"ma_pmm6_C",                                                (DL_FUNC) &ma_pmm6_C,                                                 6},
                                                                            ^~~~~~~~~
RcppExports.cpp:706:17: note: candidate function has different number of parameters (expected 0 but has 6)
RcppExport SEXP ma_pmm6_C(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP);
                ^
RcppExports.cpp:461:21: note: candidate function has different number of parameters (expected 0 but has 6)
Rcpp::NumericVector ma_pmm6_C(Rcpp::NumericVector y, Rcpp::NumericVector ry01, Rcpp::NumericMatrix x, double ridge, Rcpp::NumericVector coefu1, Rcpp::NumericVector donorsample);
                    ^
1 error generated.
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘miceadds’
* removing ‘/Users/buurensv/Package/miceadds/miceadds.Rcheck/miceadds’

I am on Mac OS 10.13.4. Will also check CRAN version.

from miceadds.

stefvanbuuren avatar stefvanbuuren commented on September 26, 2024

Updated my development environment, but still no luck with the CRAN version:

R CMD check miceadds_2.10-14.tar.gz

gives the same error.

from miceadds.

alexanderrobitzsch avatar alexanderrobitzsch commented on September 26, 2024

from miceadds.

alexanderrobitzsch avatar alexanderrobitzsch commented on September 26, 2024

I think that I have found the possible cause of the bug. I uploaded a new version miceadds 2.11-80.

from miceadds.

stefvanbuuren avatar stefvanbuuren commented on September 26, 2024

Great, that solves it. The C sources now compile.

from miceadds.

Related Issues (20)

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.