Mise en place projet R

This commit is contained in:
2026-06-08 16:16:27 +02:00
commit 265e5f1db6
27 changed files with 12697 additions and 0 deletions
Executable
+13
View File
@@ -0,0 +1,13 @@
# Lancement du service Plumber
suppressPackageStartupMessages({
library(plumber)
#library(plumber2)
library(here)
})
pr <- plumb(here("R", "api", "plumber.R"))
options(plumber.debug = TRUE)
pr$run(
host = "0.0.0.0",
port = as.integer(Sys.getenv("PORT", "8000"))
)