File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,6 @@ sanitize_input_name <- function(.x) {
1616 stringr :: str_remove_all(" [^a-z0-9-]+" )
1717}
1818
19- # suppress vs code / languageserver "no visible binding" warnings
20- if (FALSE ) {
21- .data <- NULL
22- .env <- NULL
23- }
24-
2519md_file_to_html <- function (... ) {
2620 file <- app_sys(... )
2721
@@ -72,20 +66,6 @@ is_local <- function() {
7266 Sys.getenv(" SHINY_PORT" ) == " " || ! getOption(" golem.app.prod" , TRUE )
7367}
7468
75- encrypt_filename <- function (
76- filename ,
77- key_b64 = Sys.getenv(" NHP_ENCRYPT_KEY" )
78- ) {
79- key <- openssl :: base64_decode(key_b64 )
80-
81- f <- charToRaw(filename )
82-
83- ct <- openssl :: aes_cbc_encrypt(f , key , NULL )
84- hm <- as.raw(openssl :: sha256(ct , key ))
85-
86- openssl :: base64_encode(c(hm , ct ))
87- }
88-
8969download_params_schema <- function (
9070 data_path = " app_data" ,
9171 app_version = Sys.getenv(" INPUTS_DATA_VERSION" , " dev" )
You can’t perform that action at this time.
0 commit comments