Reference documentation: examples for every exported function and Rd fixes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- r
調査の方向性
Start with the smaller Rd fixes: the wrong title in R/dsa_twoway.R:1, the missing backslash and the bad make_psa_object link in R/icers.R:187 and :190, and the make_psa() message in R/psa.R:86. Then look at the @keywords internal tags on plot.ceac and summary.ceac in R/ceac.R, and add @examples to the listed functions, using \donttest{} for slow ones. Done when devtools::check() shows no keyword NOTE and devtools::run_examples() passes.
索引モデルが issue の本文から書いたものです。
説明
Suggested owner: Eva Enns (with a reviewer per area) · Plan: Phase 4
Goal
JOSS reviewers check that every exported function is documented with a runnable example. About 18 exported functions have no @examples. Several Rd pages have wrong titles or broken links.
Scope
-
Add
@examples, usingcancer_psa_data,hund_stratandpsa_cdiff, to:beta_params,calc_evppi,calc_evsi,calculate_icers_psacreate_dsa_oneway,create_dsa_twoway,metamodel,number_ticksowsa,owsa_tornado,owsa_opt_strat,twsarun_psa,run_owsa_det,run_twsa_det- the S3 plot, print and summary methods
Use
\donttest{}for anything slower than about 5 seconds. -
Fix the Rd errors:
R/dsa_twoway.R:1is titled "Create one-way deterministic sensitivity analysis object". It should say two-way.R/icers.R:187andR/icers.R:190use\code{link{...}}without the backslash. Line 190 also points to the non-existentmake_psa_object; it should bemake_psa_obj.- The
R/psa.R:86error message tells users to runmake_psa(); it should bemake_psa_obj(). \keyword{distribution;}/\keyword{information;}entries flagged by R CMD check (beta_params,calc_evpi,dirichlet_params,gamma_params,lnorm_params) should become separate@keywordsor@conceptentries.plot.ceacandsummary.ceacare exported but tagged@keywords internal(R/ceac.R), which hides them from the index.- The
lnorm_paramsexample has a stale comment (R/gen_psa_samp.R, around line 456).
-
Dataset docs: add
\formatand\sourcetopsa_cdiffandhund_strat.cancer_psa_dataanddf_example_psa_elcalready have them.
Acceptance
devtools::check()shows no keyword NOTE.- Every exported function's Rd has an Examples section, and
devtools::run_examples()passes.
- 主要言語
- R
- スター
- 43
- フォーク
- 14
- 平均マージ
- 4時間 44分
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DARTH-git/dampack のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
release
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
documentation release
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
DARTH-git/dampack の issue をすべて見る
似ている issue
-
documentation priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Pascal-Kueng/dyadMLM#179 ·
メンテナーはふだん 1 日以内に返信
-
Consider changesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OHDSI/OmopSketch#618 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
bug exec:agent status:fix-merged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ichirio/rtfreporter#1046 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信