Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0
Description
The development version of roxygen2 supports a new tag @examplesIf to include examples conditionally: https://github.com/r-lib/roxygen2/commit/513c9e25262e67e7d3383a0feb51be0ba9b6e21f
Use this to remove the feature availability conditionals that are used in some examples, including:
- if (arrow_available()) {...}
- if (arrow_with_dataset()) {...}
- if (arrow_with_parquet()) {...}
- if (arrow_with_s3()) {...}
This will simplify the examples and avoid giving the misleading suggestion that users need to perform these checks this every time.
Attachments
Issue Links
- relates to
-
ARROW-11735 [R] Allow Parquet and Arrow Dataset to be optional components
- Resolved
- links to