Update package help documentation

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
58/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
r
領域
documentation

調査の方向性

In BioMonTools.R, replace the package documentation tags with the "_PACKAGE" sentinel as described in the issue. Read the linked CRAN notice for context, then check the generated package help documentation to confirm it includes the package overview alias. The issue does not name a test or build command.

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

説明

See penultimate section header on this blog for more info on the issue from CRAN.

https://www.r-bloggers.com/2023/08/ropensci-news-digest-august-2023/

In BioMonTools.R file change

from

#' @docType package
#' @name BioMonTools

to

"_PACKAGE"`

From another package:

Dear maintainer,

You have file 'baytrends/man/baytrends.Rd' with \docType{package},
likely intended as a package overview help file, but without the
appropriate PKGNAME-package \alias as per "Documenting packages" in
R-exts.

This seems to be the consequence of the breaking change

Using @docType package no longer automatically adds a -package alias.
Instead document _PACKAGE to get all the defaults for package
documentation.

in roxygen2 7.0.0 (2019-11-12) having gone unnoticed, see
https://github.com/r-lib/roxygen2/issues/1491.

As explained in the issue, to get the desired PKGNAME-package \alias
back, you should either change to the new approach and document the new
special sentinel

"_PACKAGE"

or manually add

@aliases baytrends-package

if remaining with the old approach.

Please fix in your master sources as appropriate, and submit a fixed
version of your package within the next few months.

Best,
-k

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

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

leppott/BioMonTools のほかの issue

leppott/BioMonTools の issue をすべて見る

似ている issue

R の issue をもっと見る

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

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