blastula
blastula copied to clipboard
Warning: one argument not used by format '=?utf-8?B?%s?='
https://github.com/rstudio/blastula/blob/e9bd2675cc8c43dd03d54db0981cf3444747e2b5/R/mime.R#L514
Example
str = "mail"
str <- sprintf("=?utf-8?B?%s?=", base64enc::base64encode(charToRaw(str)), 0)
#> Warning in sprintf("=?utf-8?B?%s?=", base64enc::base64encode(charToRaw(str)), :
#> one argument not used by format '=?utf-8?B?%s?='
Created on 2023-10-26 with reprex v2.0.2
System info
sessionInfo()
#> R version 4.3.1 (2023-06-16)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Manjaro Linux
#>
#> Matrix products: default
#> BLAS: /usr/lib/libblas.so.3.11.0
#> LAPACK: /usr/lib/liblapack.so.3.11.0
#>
#> locale:
#> [1] LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=zh_CN.UTF-8 LC_COLLATE=zh_CN.UTF-8
#> [5] LC_MONETARY=zh_CN.UTF-8 LC_MESSAGES=zh_CN.UTF-8
#> [7] LC_PAPER=zh_CN.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=zh_CN.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: Asia/Shanghai
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] styler_1.10.2 digest_0.6.33 fastmap_1.1.1 xfun_0.40
#> [5] magrittr_2.0.3 glue_1.6.2 R.utils_2.12.2 knitr_1.44
#> [9] htmltools_0.5.6.1 rmarkdown_2.25 lifecycle_1.0.3 cli_3.6.1
#> [13] R.methodsS3_1.8.2 vctrs_0.6.4 reprex_2.0.2 withr_2.5.1
#> [17] compiler_4.3.1 R.oo_1.25.0 R.cache_0.16.0 purrr_1.0.2
#> [21] rstudioapi_0.15.0 tools_4.3.1 evaluate_0.22 yaml_2.3.7
#> [25] rlang_1.1.1 fs_1.6.3
Created on 2023-10-26 with reprex v2.0.2