Reconsider exporting format_cropr() and dectect_mixture()

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
r
領域
api

調査の方向性

Start by locating the exports, documentation, and tests for format_cropr() and dectect_mixture(); the issue names no specific files. Decide whether they should remain public or become internal, and consider whether a deprecation cycle is needed for backward compatibility. Done means the chosen API status is reflected consistently in exports, documentation, validation, and tests.

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

説明

Description

The functions format_cropr() and dectect_mixture() are currently exported in CroPlotR, making them part of the public API.

However, their intended scope and level of stability seem closer to internal utilities rather than user-facing functions. They are primarily used as intermediate processing steps and are not clearly documented as standalone features for end users.

This raises the question of whether they should remain exported.

Proposed change
  • Move format_cropr() and dectect_mixture() to internal scope (remove @export and document them with @keywords internal if needed).
  • Alternatively, if they are meant to be part of the public API:
    • Clarify their role in the documentation.
    • Strengthen argument validation.
    • Add explicit examples and tests covering user-facing usage.
Additional note

If backward compatibility is a concern, a deprecation cycle could be considered before fully unexporting these functions.

主要言語
R
スター
1
フォーク
3
平均マージ
9時間 41分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

SticsRPacks/CroPlotR のほかの issue

SticsRPacks/CroPlotR の issue をすべて見る

似ている issue

R の issue をもっと見る

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

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