This function reads the OfficialRstoxFrameworkVersions.txt file for the given StoX GUI version.
getOfficialRstoxPackageVersion(
StoXVersion = NULL,
officialRstoxPackageVersionsFile = system.file("versions",
"OfficialRstoxFrameworkVersions.txt", package = "RstoxFramework"),
optionalDependencies = FALSE,
toJSON = FALSE,
list.out = FALSE
)
The version of the StoX GUI defining the combination of official Rstox package versions.
The path to the file holding the link between StoX GUI version and Rstox package versions. If missing, the file on the RstoxFramework master on GitHub is used ("https://raw.githubusercontent.com/StoXProject/RstoxFramework/master/inst/versions/OfficialRstoxFrameworkVersions.txt").
Logical: If TRUE include also the column OptionalDependencies from the OfficialRstoxFrameworkVersions.txt file, which holds Rstox packages used in the Suggests field of the DESCRIPTION file.
Logical: If TRUE output a JSON string.
Logical: If TRUE wrap the output of getOfficialRstoxPackageVersion
in a list with packageName and version.