platform_variant {shinytest2} | R Documentation |
Platform specific variant
Description
Returns a string to be used within testthat's' snapshot testing. Currently, the Operating System and R Version (major, minor, no patch version) are returned.
Usage
platform_variant(..., os_name = TRUE, r_version = TRUE)
Arguments
... |
Must be empty. Allows for parameter expansion. |
os_name |
if |
r_version |
if |
Details
If more information is needed in the future to distinguish standard testing environments, this function will be updated accordingly.
See Also
[Package shinytest2 version 0.3.2 Index]