Shiny app fails for deploy after updating all packages - the url is scottkbrown.shinyapps.io/GCStats.

#1

Preparing to deploy application...DONE
Uploading bundle for application: 715625...DONE
Deploying bundle: 2018476 for application: 715625 ...
Waiting for task: 605725613
building: Processing bundle: 2018476
building: Parsing manifest
building: Building image: 2123004
building: Installing system dependencies
building: Fetching packages
error: Building package: MASS
################################ Begin Task Log ################################
[2019-04-17T13:59:44.415557642+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 58 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 (1231 kB/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) ...
    [2019-04-17T13:59:53.424675989+0000] Execute script: packages/build/hunspell.sh
  • set -e
  • apt-get update -qq
  • apt-get install -y libhunspell-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    dictionaries-common emacsen-common hunspell-en-us libhunspell-1.3-0
    Suggested packages:
    ispell | aspell | hunspell wordlist hunspell openoffice.org-hunspell
    | openoffice.org-core
    The following NEW packages will be installed:
    dictionaries-common emacsen-common hunspell-en-us libhunspell-1.3-0
    libhunspell-dev
    0 upgraded, 5 newly installed, 0 to remove and 58 not upgraded.
    Need to get 663 kB of archives.
    After this operation, 2673 kB of additional disk space will be used.

################################# End Task Log #################################
Error: Unhandled Exception: Child Task 605725614 failed: Error building image: Error fetching MASS (7.3-51.4) source. unable to satisfy package: MASS (7.3-51.4)
Execution halted

0 Likes

#2

I was able to resolve this by loading the older version of MASS devtools::install_version("MASS", "7.3-51.1")

0 Likes