Skip to content

Commit

Permalink
Merge pull request IDEMSInternational#9226 from N-thony/fixed_msg
Browse files Browse the repository at this point in the history
Updated the message for the current R version
  • Loading branch information
ChrisMarsh82 authored Oct 31, 2024
2 parents 03e78d1 + 1315129 commit 2067a20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions instat/clsRLink.vb
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ Public Class RLink
Private strRVersionMajorRequired As String = "4"

''' <summary> The R version minor required. </summary>
Private strRVersionMinorRequired As String = "1"
Private strRVersionMinorRequired As String = "4"

''' <summary> The R version required. </summary>
Private strRVersionRequired As String = strRVersionMajorRequired & "." & strRVersionMinorRequired & ".0"
Private strRVersionRequired As String = strRVersionMajorRequired & "." & strRVersionMinorRequired & ".1"

''' <summary> The R bundled version. </summary>
Private strRBundledVersion As String = "4.1.3"
Private strRBundledVersion As String = "4.4.1"

Private clsOutputLogger As clsOutputLogger

Expand Down Expand Up @@ -200,7 +200,7 @@ Public Class RLink
Catch ex As Exception
MsgBox(ex.Message & Environment.NewLine & "Could not establish connection to R." & Environment.NewLine &
"R-Instat requires version " & strRVersionRequired & " of R." & Environment.NewLine &
"Note that R-Instat does not work with R below 3.5.0. We recommend using R " & strRBundledVersion &
"Note that R-Instat does not work with R below 4.4.1. We recommend using R " & strRBundledVersion &
". Try reruning the installation to install R " & strRBundledVersion & " or download R " &
strRBundledVersion & " from https://cran.r-project.org/bin/windows/base/old/" & strRBundledVersion & "/ and restart R-Instat.",
MsgBoxStyle.Critical, "Cannot initialise R connection.")
Expand Down

0 comments on commit 2067a20

Please sign in to comment.