Posit Connect showing deprecated settings banner

Follow

Problem

Upon upgrading to newer versions of Connect, you may notice the following banner displayed:

mceclip0.png

 

Solution

In more recent versions of Connect, there are configuration options that have been deprecated in favour of newer configuration options. Primarily, these are name changes that have equivalent values to the deprecated directives. More information on this can be found here:
https://docs.posit.co/connect/news/#:~:text=by%20default.%20(%2322092)-,Deprecated%20/%20Removed,-Server.RVersion%20is

Specifically, the following directives have changed:

  • Server.RVersion is deprecated and will be removed in an upcoming release. Use R.Executable instead and reference the full R binary path rather than the path to a directory containing an R installation. (#21473)

    Earlier releases specify an R installation using Server.RVersion to target a directory:

    ; /etc/rstudio-connect/rstudio-connect.gcfg
    [Server]
    RVersion = /opt/R/3.6.3
    

    That same R installation should be provided using R.Executable:

    ; /etc/rstudio-connect/rstudio-connect.gcfg
    [R]
    Executable = /opt/R/3.6.3/bin/R
    
  • Server.RVersionMatching is deprecated and will be removed in an upcoming release. Use R.VersionMatching instead. If Server.RVersionMatching is set, its value will be used for R.VersionMatching. (#21473)

  • Server.RVersionScanning is deprecated and will be removed in an upcoming release. Use R.ExecutableScanning instead. If Server.RVersionScanning is set, its value will be used for R.ExecutableScanning. (#21473)

  • Packages.External is deprecated and will be removed in an upcoming release. Use R.External instead. If Packages.External is set, its enumerated packages will be appended to those specified by R.External. (#21473)

  • Packages.ExternalsCheckIsFatal is deprecated and will be removed in an upcoming release. Use R.ExternalsCheckIsFatal instead. If Packages.ExternalsCheckIsFatal is set, its value will be used for R.ExternalsCheckIsFatal. (#21473)

  • Applications.RConfigActive is deprecated and will be removed in an upcoming release. Use R.ConfigActive instead. If Applications.RConfigActive is set, its value will be used for R.ConfigActive. (#22085, #21473)

  • Hosting of TensorFlow Model APIs is deprecated and will be removed in an upcoming release. The Server.TensorFlowEnabled setting is disabled by default. (#22092)

    Use an API framework like Plumber, Flask, or FastAPI to create an HTTP API for your TensorFlow model.

 

Support Ticket

If you still have issues after completing the above, you can always lodge a support ticket, where our group of friendly, and incredibly knowledgeable staff can assist with any issues that you may be having. You can submit a ticket here:

https://support.posit.co/hc/en-us/requests/new

Comments