Both package 'ggpubr' and 'rstatix' depend on package 'nloptr'. Since the latest update of 'nloptr' (Around May 5th if I remembered correctly), I can't update my shinyapp anymore. And I tried with another small reprex that used 'ggpubr' package, which also failed with "ERROR: configuration failed for package 'nloptr'".
Here is a small reprex:
library(ggpubr)
library(shiny)
data("iris")
## ui file
ui <- fluidPage(
plotOutput('barplot')
)
## server file
server <- function(input, output, session) {
data(iris)
barplot1 <- reactive({
ggbarplot(data = iris, y='Sepal.Length', x='Species',
add = 'mean_sd', fill = 'Species' ) +
stat_compare_means(method = 't.test',
ref.group = 'setosa',
label = 'p.signif', hide.ns = T)
})
output$barplot <- renderPlot(barplot1())
}
The error basically indicated that cmake is not found.
Uploading bundle for application: 6265085...DONE
Deploying bundle: 5893926 for application: 6265085 ...
Waiting for task: 1151049668
building: Building image: 6883839
building: Fetching packages
building: Building package: nloptr
################################ Begin Task Log ################################
...
checking for cmake... no
------------------ CMAKE NOT FOUND --------------------
CMake was not found on the PATH. Please install CMake
...
ERROR: configuration failed for package nloptr
* removing /opt/R/4.1.2/lib/R/library/nloptr
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 1151049670 failed: Error building image: Error building nloptr (2.0.1). Build exited with non-zero status: 1
But I thought shinyapp.io had preinstalled cmake before app deployment? I don't know what happened. Please offer me some help here, thanks.
1 Like
This relates to your system not shinyapps.io's system
Package updates take a while to get into the package cache (RStudio Package Manager), shinyapps.io doesn't work very well when packages need to be compiled so either wait for the new version to be cached or install an older version meanwhile. If you install an older version in your system, rsconnect is going to replicate your environment on shinyapps.io.
I'm having the same issue (though it seems to be different, though)..
################################ Begin Task Log ################################
GET /v1/tasks/1176870721/logs/ 390ms
GET /v1/tasks/?filter=account_id:1318953&filter=parent_id:1176870721&count=100&offset=0 400ms
GET /v1/tasks/1176870722/logs/ 590ms
[2022-06-27T11:58:52.893501071+0000] Execute script: packages/build/gmp.sh
- set -e
++ lsb_release -cs
- OS_CODENAME=focal
- apt-get update -qq
- '[' focal == xenial ']'
- apt-get install -y libgmp-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libgmpxx4ldbl
Suggested packages:
gmp-doc libgmp10-doc libmpfr-dev
The following NEW packages will be installed:
libgmp-dev libgmpxx4ldbl
0 upgraded, 2 newly installed, 0 to remove and 31 not upgraded.
Need to get 330 kB of archives.
After this operation, 1786 kB of additional disk space will be used.
Get:1 Index of /ubuntu focal/main amd64 libgmpxx4ldbl amd64 2:6.2.0+dfsg-4 [9128 B]
Get:2 Index of /ubuntu focal/main amd64 libgmp-dev amd64 2:6.2.0+dfsg-4 [320 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 330 kB in 0s (8871 kB/s)
Selecting previously unselected package libgmpxx4ldbl: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 ... 196193 files and directories currently installed.)
Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.0+dfsg-4_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.2.0+dfsg-4_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4) ...
Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
[2022-06-27T11:58:56.567627752+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.7-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.7-0
libhunspell-dev
0 upgraded, 5 newly installed, 0 to remove and 31 not upgraded.
Need to get 707 kB of archives.
After this operation, 2874 kB of additional disk space will be used.
Get:1 Index of /ubuntu focal/main amd64 emacsen-common all 3.0.4 [14.9 kB]
Get:2 Index of /ubuntu focal/main amd64 dictionaries-common all 1.28.1 [178 kB]
Get:3 Index of /ubuntu focal/main amd64 hunspell-en-us all 1:2018.04.16-1 [170 kB]
Get:4 Index of /ubuntu focal/main amd64 libhunspell-1.7-0 amd64 1.7.0-2build2 [147 kB]
Get:5 Index of /ubuntu focal/main amd64 libhunspell-dev amd64 1.7.0-2build2 [197 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 707 kB in 0s (13.3 MB/s)
Selecting previously unselected package emacsen-common.
(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 ... 196213 files and directories currently installed.)
Preparing to unpack .../emacsen-common_3.0.4_all.deb ...
Unpacking emacsen-common (3.0.4) ...
Selecting previously unselected package dictionaries-common.
Preparing to unpack .../dictionaries-common_1.28.1_all.deb ...
Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Unpacking dictionaries-common (1.28.1) ...
Selecting previously unselected package hunspell-en-us.
Preparing to unpack .../hunspell-en-us_1%3a2018.04.16-1_all.deb ...
Unpacking hunspell-en-us (1:2018.04.16-1) ...
Selecting previously unselected package libhunspell-1.7-0:amd64.
Preparing to unpack .../libhunspell-1.7-0_1.7.0-2build2_amd64.deb ...
Unpacking libhunspell-1.7-0:amd64 (1.7.0-2build2) ...
Selecting previously unselected package libhunspell-dev:amd64.
Preparing to unpack .../libhunspell-dev_1.7.0-2build2_amd64.deb ...
Unpacking libhunspell-dev:amd64 (1.7.0-2build2) ...
Setting up emacsen-common (3.0.4) ...
Setting up libhunspell-1.7-0:amd64 (1.7.0-2build2) ...
Setting up libhunspell-dev:amd64 (1.7.0-2build2) ...
Setting up dictionaries-common (1.28.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up hunspell-en-us (1:2018.04.16-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
Processing triggers for dictionaries-common (1.28.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
[2022-06-27T11:59:00.693662056+0000] Execute script: packages/build/Rmpfr.sh
- set -e
- apt-get update -qq
- apt-get install -y libmpfr-dev
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
libmpfr-doc
The following NEW packages will be installed:
libmpfr-dev
0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
Need to get 240 kB of archives.
After this operation, 1221 kB of additional disk space will be used.
Get:1 Index of /ubuntu focal/main amd64 libmpfr-dev amd64 4.0.2-1 [240 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 240 kB in 0s (6846 kB/s)
Selecting previously unselected package libmpfr-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 ... 196340 files and directories currently installed.)
Preparing to unpack .../libmpfr-dev_4.0.2-1_amd64.deb ...
Unpacking libmpfr-dev:amd64 (4.0.2-1) ...
Setting up libmpfr-dev:amd64 (4.0.2-1) ...
[2022-06-27T11:59:03.761477002+0000] Execute script: packages/build/tm.sh
- set -e
- apt-get update -qq
- apt-get install -y antiword poppler-utils
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
antiword poppler-utils
0 upgraded, 2 newly installed, 0 to remove and 31 not upgraded.
Need to get 292 kB of archives.
After this operation, 1357 kB of additional disk space will be used.
Get:1 Index of /ubuntu focal/universe amd64 antiword amd64 0.37-16 [118 kB]
Get:2 Index of /ubuntu focal/main amd64 poppler-utils amd64 0.86.1-0ubuntu1 [174 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 292 kB in 0s (7183 kB/s)
Selecting previously unselected package antiword.
(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 ... 196354 files and directories currently installed.)
Preparing to unpack .../antiword_0.37-16_amd64.deb ...
Unpacking antiword (0.37-16) ...
Selecting previously unselected package poppler-utils.
Preparing to unpack .../poppler-utils_0.86.1-0ubuntu1_amd64.deb ...
Unpacking poppler-utils (0.86.1-0ubuntu1) ...
Setting up antiword (0.37-16) ...
Setting up poppler-utils (0.86.1-0ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
[2022-06-27T11:59:06.812449736+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 libbtf1 libcamd2 libccolamd2 libcholmod3 libcolamd2 libcxsparse3
libglpk40 libgraphblas3 libklu1 libldl2 libmetis5 libmongoose2 librbio2
libspqr2 libsuitesparse-dev libsuitesparseconfig5 libumfpack5
Suggested packages:
libiodbc2-dev
The following NEW packages will be installed:
libamd2 libbtf1 libcamd2 libccolamd2 libcholmod3 libcolamd2 libcxsparse3
libglpk-dev libglpk40 libgraphblas3 libklu1 libldl2 libmetis5 libmongoose2
librbio2 libspqr2 libsuitesparse-dev libsuitesparseconfig5 libumfpack5
0 upgraded, 19 newly installed, 0 to remove and 31 not upgraded.
Need to get 9830 kB of archives.
After this operation, 126 MB of additional disk space will be used.
Get:1 Index of /ubuntu focal/main amd64 libsuitesparseconfig5 amd64 1:5.7.1+dfsg-2 [9736 B]
Get:2 Index of /ubuntu focal/main amd64 libamd2 amd64 1:5.7.1+dfsg-2 [20.0 kB]
Get:3 Index of /ubuntu focal/main amd64 libbtf1 amd64 1:5.7.1+dfsg-2 [11.3 kB]
Get:4 Index of /ubuntu focal/main amd64 libcamd2 amd64 1:5.7.1+dfsg-2 [21.7 kB]
Get:5 Index of /ubuntu focal/main amd64 libccolamd2 amd64 1:5.7.1+dfsg-2 [23.2 kB]
Get:6 Index of /ubuntu focal/main amd64 libcolamd2 amd64 1:5.7.1+dfsg-2 [17.0 kB]
Get:7 Index of /ubuntu focal/main amd64 libmetis5 amd64 5.1.0.dfsg-5 [169 kB]
Get:8 Index of /ubuntu focal/main amd64 libcholmod3 amd64 1:5.7.1+dfsg-2 [308 kB]
Get:9 Index of /ubuntu focal/main amd64 libcxsparse3 amd64 1:5.7.1+dfsg-2 [64.2 kB]
Get:10 Index of /ubuntu focal/universe amd64 libglpk40 amd64 4.65-2 [378 kB]
Get:11 Index of /ubuntu focal/main amd64 libgraphblas3 amd64 1:5.7.1+dfsg-2 [3770 kB]
Get:12 Index of /ubuntu focal/main amd64 libklu1 amd64 1:5.7.1+dfsg-2 [71.7 kB]
Get:13 Index of /ubuntu focal/main amd64 libldl2 amd64 1:5.7.1+dfsg-2 [11.0 kB]
Get:14 Index of /ubuntu focal/main amd64 libmongoose2 amd64 1:5.7.1+dfsg-2 [31.4 kB]
Get:15 Index of /ubuntu focal/main amd64 libumfpack5 amd64 1:5.7.1+dfsg-2 [229 kB]
Get:16 Index of /ubuntu focal/main amd64 librbio2 amd64 1:5.7.1+dfsg-2 [24.5 kB]
Get:17 Index of /ubuntu focal/main amd64 libspqr2 amd64 1:5.7.1+dfsg-2 [64.8 kB]
Get:18 Index of /ubuntu focal/main amd64 libsuitesparse-dev amd64 1:5.7.1+dfsg-2 [4161 kB]
Get:19 Index of /ubuntu focal/universe amd64 libglpk-dev amd64 4.65-2 [445 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 9830 kB in 0s (56.9 MB/s)
Selecting previously unselected package libsuitesparseconfig5: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 ... 196426 files and directories currently installed.)
Preparing to unpack .../00-libsuitesparseconfig5_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libsuitesparseconfig5:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libamd2:amd64.
Preparing to unpack .../01-libamd2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libamd2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libbtf1:amd64.
Preparing to unpack .../02-libbtf1_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libbtf1:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libcamd2:amd64.
Preparing to unpack .../03-libcamd2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libcamd2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libccolamd2:amd64.
Preparing to unpack .../04-libccolamd2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libccolamd2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libcolamd2:amd64.
Preparing to unpack .../05-libcolamd2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libcolamd2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libmetis5:amd64.
Preparing to unpack .../06-libmetis5_5.1.0.dfsg-5_amd64.deb ...
Unpacking libmetis5:amd64 (5.1.0.dfsg-5) ...
Selecting previously unselected package libcholmod3:amd64.
Preparing to unpack .../07-libcholmod3_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libcholmod3:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libcxsparse3:amd64.
Preparing to unpack .../08-libcxsparse3_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libcxsparse3:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libglpk40:amd64.
Preparing to unpack .../09-libglpk40_4.65-2_amd64.deb ...
Unpacking libglpk40:amd64 (4.65-2) ...
Selecting previously unselected package libgraphblas3:amd64.
Preparing to unpack .../10-libgraphblas3_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libgraphblas3:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libklu1:amd64.
Preparing to unpack .../11-libklu1_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libklu1:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libldl2:amd64.
Preparing to unpack .../12-libldl2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libldl2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libmongoose2:amd64.
Preparing to unpack .../13-libmongoose2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libmongoose2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libumfpack5:amd64.
Preparing to unpack .../14-libumfpack5_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libumfpack5:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package librbio2:amd64.
Preparing to unpack .../15-librbio2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking librbio2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libspqr2:amd64.
Preparing to unpack .../16-libspqr2_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libspqr2:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libsuitesparse-dev:amd64.
Preparing to unpack .../17-libsuitesparse-dev_1%3a5.7.1+dfsg-2_amd64.deb ...
Unpacking libsuitesparse-dev:amd64 (1:5.7.1+dfsg-2) ...
Selecting previously unselected package libglpk-dev:amd64.
Preparing to unpack .../18-libglpk-dev_4.65-2_amd64.deb ...
Unpacking libglpk-dev:amd64 (4.65-2) ...
Setting up libgraphblas3:amd64 (1:5.7.1+dfsg-2) ...
Setting up libldl2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libmetis5:amd64 (5.1.0.dfsg-5) ...
Setting up libbtf1:amd64 (1:5.7.1+dfsg-2) ...
Setting up libcxsparse3:amd64 (1:5.7.1+dfsg-2) ...
Setting up libsuitesparseconfig5:amd64 (1:5.7.1+dfsg-2) ...
Setting up librbio2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libamd2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libcolamd2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libcamd2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libmongoose2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libglpk40:amd64 (4.65-2) ...
Setting up libklu1:amd64 (1:5.7.1+dfsg-2) ...
Setting up libccolamd2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libcholmod3:amd64 (1:5.7.1+dfsg-2) ...
Setting up libspqr2:amd64 (1:5.7.1+dfsg-2) ...
Setting up libumfpack5:amd64 (1:5.7.1+dfsg-2) ...
Setting up libsuitesparse-dev:amd64 (1:5.7.1+dfsg-2) ...
Setting up libglpk-dev:amd64 (4.65-2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
[2022-06-27T11:59:19.647626117+0000] Installing R package: BH (1.78.0-0)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'BH' ...
- DONE (BH)
[2022-06-27T11:59:32.027059341+0000] Installing R package: ISOcodes (2022.01.10)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'ISOcodes' ...
- DONE (ISOcodes)
[2022-06-27T11:59:32.367240262+0000] Installing R package: KernSmooth (2.23-20)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'KernSmooth' ...
- DONE (KernSmooth)
[2022-06-27T11:59:32.717379677+0000] Installing R package: MASS (7.3-57)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'MASS' ...
- DONE (MASS)
[2022-06-27T11:59:33.130540795+0000] Installing R package: NLP (0.2-1)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'NLP' ...
- DONE (NLP)
[2022-06-27T11:59:33.470576435+0000] Installing R package: R6 (2.5.1)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'R6' ...
- DONE (R6)
[2022-06-27T11:59:33.795020854+0000] Installing R package: RColorBrewer (1.1-3)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'RColorBrewer' ...
- DONE (RColorBrewer)
[2022-06-27T11:59:34.127319525+0000] Installing R package: Rcpp (1.0.8.3)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'Rcpp' ...
- DONE (Rcpp)
[2022-06-27T11:59:35.375680185+0000] Installing R package: SQUAREM (2021.1)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'SQUAREM' ...
- DONE (SQUAREM)
(...)
[2022-06-27T12:01:18.624995744+0000] Installing R package: recipes (0.2.0)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'recipes' ...
- DONE (recipes)
[2022-06-27T12:01:19.034364743+0000] Installing R package: rsample (1.0.0)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'rsample' ...
- DONE (rsample)
[2022-06-27T12:01:19.403210094+0000] Installing R package: statsExpressions (1.3.2)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'statsExpressions' ...
- DONE (statsExpressions)
[2022-06-27T12:01:19.906968574+0000] Installing R package: inspectdf (0.0.11)
- installing to library '/opt/R/4.1.2/lib/R/library'
- installing binary package 'inspectdf' ...
- DONE (inspectdf)
[2022-06-27T12:01:20.310471530+0GET /v1/tasks/?filter=account_id:1318953&filter=parent_id:1176870722&count=100&offset=0 420ms
################################# End Task Log #################################
----- Deployment error -----
Fehler: Unhandled Exception: Child Task 1176870722 failed: Error building image: Error building nloptr (2.0.3). Build exited with non-zero status: 1
----- Error stack trace -----
4: rsconnect::deployApp(appDir = "C:/Users/User/OneDrive/Desktop/Datenanalyse/Error analysis/Saved",
appFileManifest = "C:/Users/User~1/AppData/Local/Temp/622c-0615-f60a-f241",
appPrimaryDoc = "error.Rmd", appSourceDoc = "C:/Users/User/OneDrive/Desktop/Datenanalyse/Error analysis/Saved/error.Rmd",
...
3: client$waitForTask(taskId, quiet)
2: stop(status$error, call. = FALSE)
1: (function (e)
{
cat("----- Deployment error -----\n")
...
Error: Unhandled Exception: Child Task 1176870722 failed: Error building image: Error building nloptr (2.0.3). Build exited with non-zero status: 1
Execution stopped
According to Install cmake when nloptr is a dependency · Issue #328 · rstudio/shinyapps-package-dependencies · GitHub a fix has been rolled out so there is a chance that the nloptr
issues are fixed now.
And - if nothing works and you just need "a" version of nloptr
- downgrading to version 1.x of nloptr
(prior of publishing to shinyapps.io) will always fix any compilation issue with nloptr
, cf. other post on this topic Installing package nloptr