diff --git a/DESCRIPTION b/DESCRIPTION index bd8fe762..76760886 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: RstoxFramework Version: 4.2.1 -Date: 2026-06-25 +Date: 2026-06-26 Title: The Engine of StoX Authors@R: c( person(given = "Arne Johannes", @@ -51,7 +51,7 @@ Imports: jsonvalidate (>= 1.3.0), methods (>= 3.6.0), ncdf4 (>= 1.18), - RstoxBase (>= 2.2.0), + RstoxBase (>= 2.2.1), RstoxData (>= 2.2.1), scales (>= 1.1.0), semver (>= 0.2.0), diff --git a/R/Framework.R b/R/Framework.R index 56db4552..6873f7c4 100644 --- a/R/Framework.R +++ b/R/Framework.R @@ -7104,6 +7104,10 @@ writeStoxOutput <- function( # Then, unlist introduces dots, and we replace by underscore: x <- unlistToDataType(x) + # Get the file extension: + outputFileType <- getDefaultOutputFileType(x) + + # Stop if the optional 'filePath' does not have the same length as the data: if(!missing(filePath)) { if(length(filePath) != length(x)) { @@ -7112,9 +7116,6 @@ writeStoxOutput <- function( } else { - # Get the file extension: - outputFileType <- getDefaultOutputFileType(x) - # Set the default file name: filePath <- getProcessOutputTextFilePath( projectPath = projectPath, diff --git a/inst/versions/OfficialRstoxFrameworkVersions.txt b/inst/versions/OfficialRstoxFrameworkVersions.txt index a42d7043..14a2b4c1 100644 --- a/inst/versions/OfficialRstoxFrameworkVersions.txt +++ b/inst/versions/OfficialRstoxFrameworkVersions.txt @@ -102,4 +102,4 @@ StoX RstoxFramework Dependencies OptionalDependencies Official Date 4.2.1-9003 4.2.1-9004 RstoxBase_2.2.1-9003,RstoxData_2.2.1-9005 RstoxFDA_1.7.0-9999 FALSE 2026-05-22 4.2.1-9004 4.2.1-9005 RstoxBase_2.2.1-9005,RstoxData_2.2.1-9007 RstoxFDA_1.7.0-9999 FALSE 2026-06-13 4.2.1-9005 4.2.1-9006 RstoxBase_2.2.1-9006,RstoxData_2.2.1-9008 RstoxFDA_1.7.0-9999 FALSE 2026-06-23 -4.2.1 4.2.1 RstoxBase_2.2.0,RstoxData_2.2.1 RstoxFDA_1.7.0 TRUE 2026-06-25 +4.2.1 4.2.1 RstoxBase_2.2.1,RstoxData_2.2.1 RstoxFDA_1.7.0 TRUE 2026-06-26