Skip to content

Add option to warn about deprecated attributes #306

@joshuaulrich

Description

@joshuaulrich

There are several warnings about the deprecated attributes that were (re)moved in #245. These may be extremely verbose in some cases, and may cause errors in other cases. For example, an error occurred in the reverse dependency check for the 'portfolioBacktest' package, when foreach() %dopar% was called with a 'snow' backend.

Make these warnings conditional on a global option (e.g. xts_warn_deprecated). Set the option to FALSE by default, and add a message to .onAttach() to suggest users run their scripts with it set to TRUE. The default will be set to TRUE on the next non-patch release.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions