Hi,
I received this message while trying to deploy my shinyApp via shinyapps.io.
Is there a prediction on when the new R version will be supported?
Thank you in advance for your help
Juliette Engelaere-Lefebvre
We have just made R 4.6.1 available in shinyapps.io so you should be all set if you deploy again.
thanks
sam
Thanks a lot. ![]()
Using R 4.6.1 is indeed OK but deploying wasn't for me, due to spatial dependencies not found : {terra} could not be installed.
Error: Unhandled Exception: child_task=1712509489 child_task_status=failed:
Error building image: Error building terra (1.9-34). Build exited with non-zero status: 1
2026-06-29T16:13:23.948940Z 01O Execution halted
Deploy logs can be read here : deploiement (#4979710) · Jobs · DREAL Pays de la Loire / Centre de Services de la Donnée / lettre.eolien · GitLab
I managed to deploy my application using R 4.5, so there’s no urgency in my case; I’m just sharing what happened, in case it might help ![]()
I'm experiencing similar deploy issues with R 4.6.1 and terra specifically
* installing to library ‘/usr/lib/R’
* installing *source* package ‘terra’ ...
** this is package ‘terra’ version ‘1.9-34’
** package ‘terra’ successfully unpacked and MD5 sums checked
** using staged installation
configure: WARNING: to support parallel processing install TBB devel or update the PKG_CONFIG_PATH environment variable
** libs
specified C++17
using C compiler: ‘gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0’
using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0’
using C++17
gdal_multidimensional.cpp: In member function ‘bool SpatRaster::open_gdal_multidim(void*&, size_t)’:
gdal_multidimensional.cpp:1090:49: error: no matching function for call to ‘GDALMDArray::AsClassicDataset(__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type&, __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type&, std::shared_ptr<GDALGroup>&)’
1090 | GDALDataset *cds = arr->AsClassicDataset(source[src].m_dims[0], source[src].m_dims[1], root);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from spatVector.h:24,
from spatRaster.h:20,
from spatRasterMultiple.h:18,
from gdal_multidimensional.cpp:18:
/usr/include/gdal/gdal_priv.h:2506:26: note: candidate: ‘virtual GDALDataset* GDALMDArray::AsClassicDataset(size_t, size_t) const’
2506 | virtual GDALDataset* AsClassicDataset(size_t iXDim, size_t iYDim) const;
| ^~~~~~~~~~~~~~~~
/usr/include/gdal/gdal_priv.h:2506:26: note: candidate expects 2 arguments, 3 provided
make: *** [/opt/R/4.6.1/lib/R/etc/Makeconf:199: gdal_multidimensional.o] Error 1
ERROR: compilation failed for package ‘terra’
Hi,
I finally managed to deploy my app with R 4.6.1 after upgrading to the GitHub version of terra (1.9.41: terra/NEWS.md at master · rspatial/terra · GitHub).
The current CRAN version of terra is not compatible with GDAL 3.4, which is the version installed on shinyApps.io.
I found this information here :
I hope this can help !