Reference documentation: examples for every exported function and Rd fixes
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- r
- Lĩnh vực
- documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- R
- Star
- 43
- Fork
- 14
- Merge trung bình
- 4 giờ 44 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DARTH-git/dampack
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Release dampack 1.1.0 to CRANĐang mởrelease
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation release
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DARTH-git/dampack
Issue tương tự
-
documentation priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Pascal-Kueng/dyadMLM#179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Consider changesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OHDSI/OmopSketch#618 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug exec:agent status:fix-merged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ichirio/rtfreporter#1046 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày