R 3.6.x Update for Sample Extension

オープン
#250 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp, r
領域
tooling

調査の方向性

Start by reading inst/include/RcppArmadillo/Alt_R_RNG.h and the sample extension at inst/include/RcppArmadilloExtensions/sample.h. Compare their RNG handling with the linked Base R commits covering rejection sampling, R_unif_rand(), and Walker sampling. Done means the sample extension follows the required R 3.6.x behavior, including the mentioned Rcpp local variant.

索引モデルが issue の本文から書いたものです。

説明

enhancement help wanted

Glancing over the RcppArmadillo code, the Alt RNG setup directly uses R's RNG for uniform (e.g. Rf_runif(). However, the extension code in inst/RcppArmadilloExtension/sample.h does not.

So, likely this will need a patch that mirrors what is available in Base R. c.f. Implementation changes.

This will likely be needed with Rcpp's local variant as well designed by @nathan-russell.

主要言語
C++
スター
211
フォーク
54
平均マージ
5分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RcppCore/RcppArmadillo のほかの issue

RcppCore/RcppArmadillo の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。