Unable to deploy shiny app to connect when using R pkg - "testthat" through R Version - 3.4.3, works fine with R version - 3.5.1

January 6, 2020 @PRG PR

@PRG wrote:

Hello,

Unable to deploy the shiny app to R Studio Connect when using the R Pkg - "testthat".
However, this issue is only on the R Version - 3.4.3, deployment works fine through R version - 3.5.1
Deployment always fails at "testthat". logs on Connect server:

Installing testthat (2.2.1) ...
curl: (56) Recv failure: Connection reset by peer
curl: (56) Recv failure: Connection reset by peer
curl: (56) Recv failure: Connection reset by peer
curl: (56) Recv failure: Connection reset by peer
curl: (56) Recv failure: Connection reset by pr
FAILED
Error in getSourceForPkgRecord(pkgRecord, srcDir(project), availablePackagesSource(repos = repos), : Failed to retrieve package sources for testthat 2.2.1 from CRAN (internet connectivity issue?)

[2.3.1 is current]

R Pkg "curl" version - 4.0
R Pkg "testthat" version - 2.2.1
R Studio Server Pro Version - 1.2.1335-1
R Studio Connect Version - 1.7.2.2-14

Any help is widely appreciated,

Thanks.

Posts: 2

Participants: 2

Read full topic

Previous Article
unable to deploy shiny app to connect using R pkg - "testthat" for R Version - 3.4.3, works fine with R version - 3.5.1
unable to deploy shiny app to connect using R pkg - "testthat" for R Version - 3.4.3, works fine with R version - 3.5.1

@PRG wrote: (topic withdrawn by author, will be automatically deleted in 24 hour...

Next Article
Get authorization group for Shiny app user on RStudio Connect
Get authorization group for Shiny app user on RStudio Connect

@smingerson wrote: I have an application where I would like the data filtered ba...