Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`BEGIN_CPP11 + END_CPP11` -> using `Rf_errorcall(call, ...)`

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

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

評価

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

調査の方向性

Start with inst/include/cpp11/declarations.hpp around END_CPP11 and R/register.R around generate_cpp_functions(). Trace how package and funs$name are available to generated functions, then determine the intended macro or sibling interface. Done means the generated code can construct a call for Rf_errorcall() instead of passing R_NilValue, with coverage for the resulting behavior.

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

説明

I believe we could expand on END_CPP11 (or add a sibling).

https://github.com/r-lib/cpp11/blob/51f4cd5ad9425a491dedf951a3679346d416e51c/inst/include/cpp11/declarations.hpp#L47-L63

so that it would take parameters, easily generated in generate_cpp_functions(), i.e. package and funs$name

https://github.com/r-lib/cpp11/blob/51f4cd5ad9425a491dedf951a3679346d416e51c/R/register.R#L165-L185

so that we could construct a call to use in Rf_errorcall() instead of using R_NilValue.

主要言語
C++
スター
224
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

r-lib/cpp11 のほかの issue

r-lib/cpp11 の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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