refactor: меняем файлы местами в очередной раз
This commit is contained in:
@@ -14,7 +14,7 @@ credentials <- data.frame(
|
|||||||
# Init the database
|
# Init the database
|
||||||
shinymanager::create_db(
|
shinymanager::create_db(
|
||||||
credentials_data = credentials,
|
credentials_data = credentials,
|
||||||
sqlite_path = "config/auth.sqlite", # will be created
|
sqlite_path = "temp/auth.sqlite", # will be created
|
||||||
passphrase = Sys.getenv("AUTH_DB_KEY")
|
passphrase = Sys.getenv("AUTH_DB_KEY")
|
||||||
# passphrase = "passphrase_wihtout_keyring"
|
# passphrase = "passphrase_wihtout_keyring"
|
||||||
)
|
)
|
||||||
|
|||||||
2
app.R
2
app.R
@@ -1149,7 +1149,7 @@ server <- function(input, output, session) {
|
|||||||
# write vector to temp .Rmd file
|
# write vector to temp .Rmd file
|
||||||
writeLines(empty_vec, temp_report, sep = "\n")
|
writeLines(empty_vec, temp_report, sep = "\n")
|
||||||
# copy template .docx file
|
# copy template .docx file
|
||||||
file.copy("references/reference.docx", temp_template, overwrite = TRUE)
|
file.copy("resources/references/reference.docx", temp_template, overwrite = TRUE)
|
||||||
|
|
||||||
# render file via pandoc
|
# render file via pandoc
|
||||||
rmarkdown::render(
|
rmarkdown::render(
|
||||||
|
|||||||
Reference in New Issue
Block a user