| 1 |
|
| 2 |
Current active misfeatures |
| 3 |
|
| 4 |
o Rcpp.package.skeleton() does not work with supplied functions, |
| 5 |
eg Rcpp.package.skeleton("foo", list=c("funA", "funB")) ends |
| 6 |
in error. |
| 7 |
|
| 8 |
o Sugar ops unit tests on +, -, ... need double, fail with int |
| 9 |
|
| 10 |
o DataFrame::create(Named("a")=b, Named("b")=b) fails with |
| 11 |
NumericVectors |
| 12 |
|
| 13 |
Documentation |
| 14 |
|
| 15 |
o Finish the quickref vignette |
| 16 |
|
| 17 |
o Maybe a vignette about stats functions |
| 18 |
|
| 19 |
o Add a vignette about the API |
| 20 |
|
| 21 |
API |
| 22 |
|
| 23 |
o Rcpp::Factor and Rcpp::Ordered |
| 24 |
|
| 25 |
o Fast indexing and g++ 4.5.0 or later: open issue of why this compiler |
| 26 |
gets upset when the previous version(s) coped just fine |
| 27 |
|
| 28 |
o Vector::resize |
| 29 |
|
| 30 |
Modules |
| 31 |
|
| 32 |
o Class inheritance. Reflect C++ inheritance at the R level. |
| 33 |
|
| 34 |
Syntactic sugar |
| 35 |
|
| 36 |
o logical indexing, ie NumericVector( LogicalVector ) |
| 37 |
|
| 38 |
o recycling : binary operators and math functions of 2 or more arguments |
| 39 |
need to recycle their arguments. |
| 40 |
|
| 41 |
o not sure rep should be lazy, i.e. rep( x, 4 ) fetches x[i] 4 times, |
| 42 |
maybe we should use LazyVector like in outer to somehow cache the |
| 43 |
result when it is judged expensive to calculate |
| 44 |
|
| 45 |
o crossprod |
| 46 |
|
| 47 |
o Vector * Matrix, Matrix * Matrix |
| 48 |
|
| 49 |
o operator% |
| 50 |
|
| 51 |
o operator/ needs to handle the case of division by 0 |
| 52 |
|
| 53 |
o matrix functions : apply |
| 54 |
|
| 55 |
o for character vectors: nchar, grepl, sub, gsub |
| 56 |
|
| 57 |
o Compound operators: ++,--,+=, -=, ... |
| 58 |
|
| 59 |
o other statistical distribution functions : |
| 60 |
|
| 61 |
multinom : this only has dmultinom which is handled in R, so |
| 62 |
maybe we can skip it |
| 63 |
|
| 64 |
signrank : has the weird call to .C( "signrank_free" ), need |
| 65 |
to understand that |
| 66 |
|
| 67 |
wilcox : has the weird call to .C( "wilcox_free" ), need to |
| 68 |
understand that |
| 69 |
|
| 70 |
tukey : only has p and q, no r or d |
| 71 |
|
| 72 |
o other random generators: |
| 73 |
|
| 74 |
rmultinom : tricky because it generates a matrix |
| 75 |
|
| 76 |
rnbeta : the R version is implemented in R (not in C), |
| 77 |
should we still have it in Rcpp in compile code ? |
| 78 |
|
| 79 |
rnf : idem |
| 80 |
|
| 81 |
rnt : idem |
| 82 |
|
| 83 |
Testing |
| 84 |
|
| 85 |
o all r* functions : rnorm, etc ... |
| 86 |
|
| 87 |
o many dpq functions have not been tested yet |
| 88 |
|
| 89 |
o new autogenerated sugar functions: cos, acosh, atan, cos, cosh, log, |
| 90 |
log10, sqrt, sin, sinh, tan, tanh |
| 91 |
|
| 92 |
o attributes (although our tests currently use attributes extensively |
| 93 |
so it's not clear what else we'd add here) |