I getting an error while deploying the shiny application

Uploading bundle for application: 152363...DONE
Deploying bundle: 2790166 for application: 152363 ...
Waiting for task: 690993163
building: Processing bundle: 2790166
building: Parsing manifest
building: Building image: 3074320
building: Installing system dependencies
building: Fetching packages
building: Building package: installr
################################ Begin Task Log ################################
[2020-02-10T22:16:55.882152091+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 104 not upgraded.
    Need to get 67.8 kB of archives.
    After this operation, 229 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.11 [67.8 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 67.8 kB in 0s (0 B/s)
    Selecting previously unselected package libapparmor-dev:amd64.
    (Reading database ... 119718 files and directories currently installed.)
    Preparing to unpack .../libapparmor-dev_2.10.95-0ubuntu2.11_amd64.deb ...
    Unpacking libapparmor-dev:amd64 (2.10.95-0ubuntu2.11) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up libapparmor-dev:amd64 (2.10.95-0ubuntu2.11) ...
    [2020-02-10T22:17:00.335979878+0000] Execute script: packages/build/igraph.sh
  • set -e
  • apt-get update -qq
  • apt-get install -y libglpk-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
    libamd2.4.1 libbtf1.2.1 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6
    libcolamd2.9.1 libcsparse3.1.4 libcxsparse3.1.4 libglpk36 libgmp-dev
    libgmpxx4ldbl libklu1.3.3 libldl2.2.1 libspqr2.0.2 libsuitesparse-dev
    libsuitesparseconfig4.4.6 libumfpack5.7.1
    Suggested packages:
    libiodbc2-dev gmp-doc libgmp10-doc libmpfr-dev
    The following NEW packages will be installed:
    libamd2.4.1 libbtf1.2.1 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6
    libcolamd2.9.1 libcsparse3.1.4 libcxsparse3.1.4 libglpk-dev libglpk36
    libgmp-dev libgmpxx4ldbl libklu1.3.3 libldl2.2.1 libspqr2.0.2
    libsuitesparse-dev libsuitesparseconfig4.4.6 libumfpack5.7.1
    0 upgraded, 18 newly installed, 0 to remove and 104 not upgraded.
    Need to get 2864 kB of archives.
    After this operation, 12.2 MB of additional disk space will be used.
    Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libsuitesparseconfig4.4.6 amd64 1:4.4.6-1 [9322 B]
    Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libamd2.4.1 amd64 1:4.4.6-1 [21.3 kB]
    Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libbtf1.2.1 amd64 1:4.4.6-1 [10.8 kB]
    Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libcamd2.4.1 amd64 1:4.4.6-1 [20.0 kB]
    Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libccolamd2.9.1 amd64 1:4.4.6-1 [21.5 kB]
    Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libcolamd2.9.1 amd64 1:4.4.6-1 [15.7 kB]
    Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libcholmod3.0.6 amd64 1:4.4.6-1 [293 kB]
    Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libcsparse3.1.4 amd64 1:4.4.6-1 [26.3 kB]
    Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libcxsparse3.1.4 amd64 1:4.4.6-1 [62.8 kB]
    Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libglpk36 amd64 4.57-1build3 [386 kB]
    Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgmpxx4ldbl amd64 2:6.1.0+dfsg-2 [8948 B]
    Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libgmp-dev amd64 2:6.1.0+dfsg-2 [314 kB]
    Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libklu1.3.3 amd64 1:4.4.6-1 [71.5 kB]
    Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libldl2.2.1 amd64 1:4.4.6-1 [10.6 kB]
    Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libumfpack5.7.1 amd64 1:4.4.6-1 [223 kB]
    Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libspqr2.0.2 amd64 1:4.4.6-1 [63.6 kB]
    Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libsuitesparse-dev amd64 1:4.4.6-1 [899 kB]
    Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libglpk-dev amd64 4.57-1build3 [408 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 2864 kB in 0s (40.7 MB/s)
    Selecting previously unselected package libsuitesparseconfig4.4.6:amd64.
    (Reading database ... 119740 files and directories currently installed.)
    Preparing to unpack .../libsuitesparseconfig4.4.6_1%3a4.4.6-1_amd64.deb ...
    Unpacking libsuitesparseconfig4.4.6:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libamd2.4.1:amd64.
    Preparing to unpack .../libamd2.4.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libamd2.4.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libbtf1.2.1:amd64.
    Preparing to unpack .../libbtf1.2.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libbtf1.2.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libcamd2.4.1:amd64.
    Preparing to unpack .../libcamd2.4.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libcamd2.4.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libccolamd2.9.1:amd64.
    Preparing to unpack .../libccolamd2.9.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libccolamd2.9.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libcolamd2.9.1:amd64.
    Preparing to unpack .../libcolamd2.9.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libcolamd2.9.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libcholmod3.0.6:amd64.
    Preparing to unpack .../libcholmod3.0.6_1%3a4.4.6-1_amd64.deb ...
    Unpacking libcholmod3.0.6:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libcsparse3.1.4:amd64.
    Preparing to unpack .../libcsparse3.1.4_1%3a4.4.6-1_amd64.deb ...
    Unpacking libcsparse3.1.4:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libcxsparse3.1.4:amd64.
    Preparing to unpack .../libcxsparse3.1.4_1%3a4.4.6-1_amd64.deb ...
    Unpacking libcxsparse3.1.4:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libglpk36:amd64.
    Preparing to unpack .../libglpk36_4.57-1build3_amd64.deb ...
    Unpacking libglpk36:amd64 (4.57-1build3) ...
    Selecting previously unselected package libgmpxx4ldbl:amd64.
    Preparing to unpack .../libgmpxx4ldbl_2%3a6.1.0+dfsg-2_amd64.deb ...
    Unpacking libgmpxx4ldbl:amd64 (2:6.1.0+dfsg-2) ...
    Selecting previously unselected package libgmp-dev:amd64.
    Preparing to unpack .../libgmp-dev_2%3a6.1.0+dfsg-2_amd64.deb ...
    Unpacking libgmp-dev:amd64 (2:6.1.0+dfsg-2) ...
    Selecting previously unselected package libklu1.3.3:amd64.
    Preparing to unpack .../libklu1.3.3_1%3a4.4.6-1_amd64.deb ...
    Unpacking libklu1.3.3:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libldl2.2.1:amd64.
    Preparing to unpack .../libldl2.2.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libldl2.2.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libumfpack5.7.1:amd64.
    Preparing to unpack .../libumfpack5.7.1_1%3a4.4.6-1_amd64.deb ...
    Unpacking libumfpack5.7.1:amd64 (1:4.4.6-1) ...
    Selecting previously unselected package libspqr2.0.2:amd64.
    Preparing to unpa################################# End Task Log #################################
    Error: Unhandled Exception: Child Task 690993164 failed: Error building image: Error building installr (0.22.0). Build exited with non-zero status: 1
    In addition: Warning message:
    In utils::tar(bundlePath, files = ".", compression = "gzip", tar = "internal") :
    storing paths of more than 100 bytes is not portable:
    ‘./analyses/supporting_hcbs_inclusion_files/dt-ext-responsive-1.10.12/css/responsive.dataTables.min.css’

What's your use case for involving installr package into an app you are trying to deploy?

I am not installing the installr package manually, while deploying the application automatically installr is installed and throw the error.

According to Cran installr has

Reverse dependencies:
Reverse imports:	RInno
Reverse suggests:	BrailleR, RxODE

Are you using either of these 3 packages ? I aks because installr seems to be failing , so it's a question of fixing things so installr installs, or doing without installr