library(sp) causes HTTP 599: Timeout when deploying to shinyapps.io

I am updating my app, but adding the 'sp' library throws an error when deploying to shinyapps.io

Specifically, when I add to my global.R file:

library(sp)

I get the following upon deployment:

rsconnect::deployApp(appName = "hjertetal2")
Preparing to deploy application...DONE
Uploading bundle for application: 632977...DONE
Deploying bundle: 2181997 for application: 632977 ...
Waiting for task: 625748482
  building: Processing bundle: 2181997
  building: Parsing manifest
  building: Building image: 2301509
  building: Installing system dependencies
  building: Fetching packages
  building: Installing packages
  building: Installing files
  building: Pushing image: 2301509
################################ Begin Task Log ################################ 
[2019-06-27T08:01:17.502869683+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 additional packages will be installed:
  libapparmor1
The following NEW packages will be installed:
  libapparmor-dev
The following packages will be upgraded:
  libapparmor1
1 upgraded, 1 newly installed, 0 to remove and 99 not upgraded.
Need to get 97.3 kB of archives.
After this operation, 230 kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapparmor1 amd64 2.10.95-0ubuntu2.11 [29.5 kB]
Get:2 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 97.3 kB in 0s (9160 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 119344 files and directories currently installed.)
Preparing to unpack .../libapparmor1_2.10.95-0ubuntu2.11_amd64.deb ...
Unpacking libapparmor1:amd64 (2.10.95-0ubuntu2.11) over (2.10.95-0ubuntu2.10) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up libapparmor1:amd64 (2.10.95-0ubuntu2.11) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Selecting previously unselected package libapparmor-dev:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 119344 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) ...
[2019-06-27T08:01:22.221402816+0000] Execute script: packages/build/rgdal.sh
+ set -e
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x089EBE08314DF160
Executing: /tmp/tmp.EbSKu2nrDc/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
0x089EBE08314DF160
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
++ lsb_release -cs
+ echo 'deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial main'
+ apt-get update -qq
+ apt-get install -y libgdal-dev libproj-dev
Reading package lists...
Building dependency tree...
Reading state information...
libproj-dev is already the newest version (4.9.2-2).
The following packages were automatically installed and are no longer required:
  libgdal1i libjasper-dev libjasper1
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  gdal-data libarmadillo-dev libarpack2-dev libepsilon-dev libfreexl-dev
  libfyba-dev libfyba0 libgdal20 libgeotiff-dev libgeotiff2 libjbig-dev
  libjson-c-dev libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1
  libminizip-dev libogdi3.2-dev libopenjp2-7 libopenjp2-7-dev libpoppler-dev
  libpoppler-private-dev libpoppler58 libqhull-dev libqhull7 libsuperlu-dev
  libtiff5 libtiff5-dev libtiffxx5 liburiparser-dev
Suggested packages:
  libitpp-dev libgdal-doc libgeotiff-epsg geotiff-bin gdal-bin libsuperlu-doc
The following NEW packages will be installed:
  gdal-data libarmadillo-dev libarpack2-dev libepsilon-dev libfreexl-dev
  libfyba-dev libfyba0 libgdal20 libgeotiff-dev libgeotiff2 libjbig-dev
  libjson-c-dev libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1
  libminizip-dev libogdi3.2-dev libopenjp2-7-dev libpoppler-dev
  libpoppler-private-dev libqhull-dev libqhull7 libsuperlu-dev libtiff5-dev
  libtiffxx5 liburiparser-dev
The following packages will be upgraded:
  libgdal-dev libopenjp2-7 libpoppler58 libtiff5
4 upgraded, 27 newly installed, 0 to remove and 98 not upgraded.
Need to get 17.3 MB of archives.
After this operation, 52.0 MB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libarpack2-dev amd64 3.3.0-1build2 [94.7 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libsuperlu-dev amd64 4.3+dfsg-3 [174 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libarmadillo-dev amd64 1:6.500.5+dfsg-1 [297 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libfyba0 amd64 4.1.1-2 [111 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libfyba-dev amd64 4.1.1-2 [392 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.6 [149 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libgeotiff2 amd64 1.4.1-2 [55.9 kB]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libopenjp2-7 amd64 2.1.2-1.1+deb9u3build0.16.04.1 [112 kB]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler58 amd64 0.41.0-0ubuntu1.13 [757 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libqhull7 amd64 2015.2-1 [152 kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libepsilon-dev amd64 0.9.2-3ubuntu1 [48.9 kB]
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libfreexl-dev amd64 1.0.2-1ubuntu0.1 [30.5 kB]
Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjbig-dev amd64 2.1-3.1 [24.8 kB]
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiffxx5 amd64 4.0.6-1ubuntu0.6 [9456 B]
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5-dev amd64 4.0.6-1ubuntu0.6 [269 kB]
Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libgeotiff-dev amd64 1.4.1-2 [77.3 kB]
Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libjson-c-dev amd64 0.11-4ubuntu2 [30.6 kB]
Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlconvenience1 amd64 1.3.0-1 [44.2 kB]
Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlregionator1 amd64 1.3.0-1 [19.8 kB]
Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkmlxsd1 amd64 1.3.0-1 [28.0 kB]
Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libminizip-dev amd64 1.1-8 [26.7 kB]
Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 liburiparser-dev amd64 0.8.4-1 [10.0 kB]
Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libkml-dev amd64 1.3.0-1 [936 kB]
Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 libogdi3.2-dev amd64 3.2.0~beta2-7.1build1 [23.0 kB]
Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libopenjp2-7-dev amd64 2.1.2-1.1+deb9u3build0.16.04.1 [25.4 kB]
Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-dev amd64 0.41.0-0ubuntu1.13 [762 kB]
Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpoppler-################################# End Task Log ################################# 
Error: Unhandled Exception: Child Task 625748483 error: Unhandled Exception: HTTP 599: Timeout during request
In addition: Warning messages:
1: running command '"pdflatex" -halt-on-error -interaction=batchmode "C:\Users\mphelps\AppData\Local\Temp\RtmpoxQ27C\file4d882c3f2fbf.tex"' had status 1 
2: In readLines(logfile) :
  incomplete final line found on 'file4d882c3f2fbf.log'
3: In readLines(con = conn) :
  incomplete final line found on 'C:\Users\mphelps\AppData\Local\Temp\RtmpoxQ27C\file4d882afd548e'

Removing the library(sp) call allows normal deployment. Other librarys that I load are:

library(profvis)
library(shiny)
library(DT)
library(shinyWidgets)
library(data.table)
library(shinyBS)
library(shinyjs)
library(leaflet)
library(manipulateWidget)
library(shinycssloaders)

Oddly, even when I don't include the library(sp) call, the library will load fine when I run the part of my app that requires 'sp'. I can see the following in my shinyapps.io log:

2019-06-27T07:59:45.403723+00:00 shinyapps[632977]: Loading required package: sp

My local session info is:

R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.4.3 tools_3.4.3