CRAN resubmission fixes for version 1.4.0
CRAN requested several documentation, example, console-output, and file-writing corrections before FinancialInstrument can be resubmitted.
Compatibility requirement
This maintenance release must preserve the existing public API wherever possible.
- Do not rename or remove exported functions.
- Do not reorder existing arguments.
- Add new arguments only at the end of existing signatures.
- Preserve behavior for existing calls that supply valid explicit inputs and paths.
- Avoid changing return classes or object structures.
- Limit behavioral changes to cases specifically required for CRAN compliance.
- Add regression tests before modifying public behavior.
- Document any unavoidable behavior change in
NEWS and the re-submission notes.
DESCRIPTION
Return-value documentation
Examples
Namespace and internal-object access
Console output
File-writing behavior
Verification
CRAN resubmission fixes for version 1.4.0
CRAN requested several documentation, example, console-output, and file-writing corrections before
FinancialInstrumentcan be resubmitted.Compatibility requirement
This maintenance release must preserve the existing public API wherever possible.
NEWSand the re-submission notes.DESCRIPTION
Return-value documentation
\value.@returntags to the roxygen source..Rdfiles.Examples
ls_by_currency()example.\dontrun{}blocks with executable examples or\donttest{}.\dontrun{}only for genuinely unexecutable examples.tempfile()ortempdir()for examples that write files.Namespace and internal-object access
FinancialInstrument:::.instrumentfrom documentation examples.expires()is exported in the generatedNAMESPACE.Console output
R/Tick2Sec.Rfor unconditionalcat()orprint()calls.message()for optional progress reporting.verbose = FALSEonly at the end of an existing function signature.File-writing behavior
Verification
\value.:::.R CMD build.R CMD check --as-cran.R CMD check --as-cran --run-donttest.cran-comments.md.