insightsengineering / formatters

A framework for creating listings of raw data that include specialized formatting, headers, footers, referential footnotes, and pagination.
https://insightsengineering.github.io/formatters/
Other
15 stars 6 forks source link

Undeclared package ‘rtables’ in Rd xrefs #278

Closed shajoezhu closed 2 months ago

shajoezhu commented 4 months ago

https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/formatters-00check.html

Melkiades commented 4 months ago

Here is happening https://github.com/insightsengineering/formatters/blob/88a928952c392a0f7a012c72d0c4764c5c4beeaa/R/generics.R#L45

pawelru commented 3 months ago

rtables package needs to be pre-installed when running devtools::document() In order to make it pre-installed you would have to add it to the Imports / Suggests / etc. You can't do this because that would make a circular reference between rtables -imports-> formatters and formatters -suggests-> rtables I would suggest to just remove that ref and keep docs refs dependencies in line with package functionalities dependencies.

We just got a similar issue in https://github.com/insightsengineering/teal.slice/issues/588