Comments (7)
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.
OK, thanks. Will try to fiddle around it.
from miceadds.
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.
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.
from miceadds.
I think that I have found the possible cause of the bug. I uploaded a new version miceadds 2.11-80.
from miceadds.
Great, that solves it. The C sources now compile.
from miceadds.
Related Issues (20)
- micombine.cor with Fisher transform? HOT 2
- mi.anova intercept? HOT 3
- groupwise imputation with ml.lmer? HOT 3
- summary() subscript out of bounds HOT 2
- subscript out of bounds HOT 5
- mice.impute.bygroup - outs of bounds HOT 9
- glm.cluster yielding wrong p-values HOT 3
- not able to impute using ml.lmer in v 3.3? HOT 3
- glm.cluster reliant on/generates NULL wgt__ value HOT 3
- Error when using 2lonly.function with polyreg HOT 2
- datlist2mids fails after subsetting if factors don't still contain all levels HOT 1
- pooling error with nested imputations HOT 1
- Memory limit error with weighted imputation HOT 1
- Error in weighted predictive mean matching method HOT 1
- different variable imputed values using same predictor variable - 2l.pmm HOT 3
- `mice.impute.ml.lmer` on large three-level dataset: `"binary"` logistic model returns error, 'hangs' when adding random slopes or interactions HOT 1
- Is it possible to convert mids objects to an Amelia object? HOT 2
- post hoc test for mi.anova
- Question on using mice.impute.imputeR.lmFun HOT 2
- Possible error in example for ml.lmer documentation HOT 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 miceadds.