shiny depends on fastmap which is only available in source form

October 31, 2019 @jhitchcock Jon Hitchcock

@jhitchcock wrote:

Hi. Although any helpful advice will be gratefully received, I am writing here mainly to ask if my analysis of the problem is likely to be correct.

I want to use the mosaic package from CRAN, but when I call its do() function I get:

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘shiny’

Looking at the messages when the mosaic package is installed (and using tools::dependsOnPkgs) I see that mosaic depends on the leaflet package which depends on crosstalk which depends on shiny. There are also messages:

Package which is only available in source form, and may need compilation of C/C++/Fortran: 'fastmap'
ERROR: dependency 'fastmap' is not available for package 'shiny'
installation of package 'shiny' had non-zero exit status

I believe that a dependency on fastmap was added in version 1.4.0 of shiny which was released at the start of October. I did not have this problem before October. And it is unlikely that mosaic::do actually needs shiny, but it is probably needed by other functions in the mosaic package.

It may be relevant that I am using R version 3.4.1 and RStudio 1.1.453 under Windows 10 version 1903. These are installed on the many classroom machines here. We wanted to upgrade R and RStudio over the summer, but our IT support people were busy fighting other fires.

Posts: 5

Participants: 3

Read full topic

Previous Article
Deployment failure / pakage version conflict
Deployment failure / pakage version conflict

@tonyfujs wrote: Hello, I am trying to deploy a Shiny app on our RstudioConnect ...

Next Article
Shiny usage endpoint for collaborators
Shiny usage endpoint for collaborators

@joseluizferreira wrote: Hi there, The Shiny usage information endpoint in the R...