Cannot deploy:: error with MASS

dear Shiny community,

I deployed successfully two apps in November 2018. Did an upgrade of R and RStudio and I am experiencing an issue when trying to deploy my apps on shinyapps.io. The library MASS cannot be built.

The log is as follows:

Preparing to deploy application...DONE
Uploading bundle for application: 624793...DONE
Deploying bundle: 2007138 for application: 624793 ...
Waiting for task: 604422770
building: Processing bundle: 2007138
building: Parsing manifest
building: Building image: 2109718
building: Installing system dependencies
building: Fetching packages
error: Building package: MASS
################################ Begin Task Log ################################
[2019-04-12T21:54:14.897443679+0000] Execute script: packages/build/sys.sh

  • set -e
  • apt-get update -qq
  • apt-get install -y libapparmor-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    libapparmor-dev
    0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
    Need to get 67.5 kB of archives.
    After this operation, 228 kB of additional disk space will be used.
    Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapparmor-dev amd64 2.10.95-0ubuntu2.10 [67.5 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 67.5 kB in 0s (0 B/s)
    Selecting previously unselected package libapparmor-dev:amd64.
    (Reading database ... 119344 files and directories currently installed.)
    Preparing to unpack .../libapparmor-dev_2.10.95-0ubuntu2.10_amd64.deb ...
    Unpacking libapparmor-dev:amd64 (2.10.95-0ubuntu2.10) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up libapparmor-dev:amd64 (2.10.95-0ubuntu2.10) ...
    ################################# End Task Log #################################
    Error: Unhandled Exception: Child Task 604422772 failed: Error building image: Error fetching MASS (7.3-51.4) source. unable to satisfy package: MASS (7.3-51.4)
    Execution halted

Any help will be gratefully received.

Christophe

Hello dear community members,

I made some progress with an interim solution. I check the manifest.json file associated with my successfully apps. At that time, I was running in MASS "Version": "7.3-51.1". I decided to re-install that version instead of the latest MASS (7.3-51.4). The apps deploys successfully now.
I remain of course interested in any other solution. Many thanks to you all.

I got the same problem and solved it by installing MASS 7.3.51.1 by devtools::install_version("MASS", "7.3-51.1"). Only the source version is available. The update to MacOS Mojave threw compilers off track. In case you get the error MASS.c:18:10: fatal error: 'stdlib.h' file not found, see https://github.com/neovim/neovim/issues/9050#issuecomment-424417456 That worked for me.

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.