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.
Arguments
- ...
Must be empty. Allows for parameter expansion.
- os_name
if
TRUE
, include the OS name in the output- r_version
if
TRUE
, include the major and minor version of the R version, no patch version
Details
If more information is needed in the future to distinguish standard testing environments, this function will be updated accordingly.