- Session info --------------------------------
setting value
version R version 4.0.4 (2021-02-15)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.1252
ctype English_United States.1252
tz America/Chicago
date 2021-06-11
The following runs fine :
library(analogsea)
library(future)
id <- plumberDeploy::do_provision(example = FALSE,
region = getOption("do_region", "sfo3"))
[100%] C:\Users\some_user\OneDrive - some_company\Projects\Tutorials\PlumberAPI\digital_o_test\plumber.R
/tmp/THHYUSGEGO
[100%] C:\Users\some_user\AppData\Local\Temp\RtmpcVjabU\file561814911ef7
/etc/systemd/system/plumber-date.service
Created symlink /etc/systemd/system/multi-user.target.wants/plumber-date.service → /etc/systemd/system/plumber-date.service.
â— plumber-date.service - Plumber API
Loaded: loaded (/etc/systemd/system/plumber-date.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-06-11 16:19:44 UTC; 1s ago
Main PID: 39715 (code=exited, status=1/FAILURE)
Jun 11 16:19:43 SentientEvacuation systemd[1]: Started Plumber API.
Jun 11 16:19:44 SentientEvacuation Rscript[39715]: Error in stopOnLine(lineNum, file[lineNum], e) :
Jun 11 16:19:44 SentientEvacuation Rscript[39715]: Error on line #0: '' - Error in library(future): there is no package called ‘future’
Jun 11 16:19:44 SentientEvacuation Rscript[39715]: Calls: <Anonymous> ... tryCatchList -> tryCatchOne -> <Anonymous> -> stopOnLine
Jun 11 16:19:44 SentientEvacuation Rscript[39715]: Execution halted
Jun 11 16:19:44 SentientEvacuation systemd[1]: plumber-date.service: Main process exited, code=exited, status=1/FAILURE
Jun 11 16:19:44 SentientEvacuation systemd[1]: plumber-date.service: Failed with result 'exit-code'.
Error: ssh failed
systemctl status plumber-date
The following runs fine :
The following generates error:
plumberDeploy::do_deploy_api(id, "date", "./digital_o_test/", 8000, docs = TRUE)
digital_o_test contains simple date api.
Error:
Here are some extra details: