user-profile

Why is it a good idea to limit deployment of files to the user-profile or HKCU when using MSI?

≡放荡痞女 提交于 2019-11-26 11:39:25
问题 Why is it a good idea to limit deployment of files to the user-profile or HKCU from my MSI or setup file? Deployment is a crucial part of most development. Please give this content a chance. It is my firm belief that software quality can be dramatically improved by small changes in application design to make deployment more logical and more reliable - that is what this \"answer\" is all about - software development . This is a Q/A-style question split from an answer that became too long: How

Use R code or Windows user variable (“%userprofile%”) in YAML?

廉价感情. 提交于 2019-11-26 11:34:38
问题 In my yaml call I have --- title: \"`r paste0(\'Test. Done \', format(Sys.Date(), \'%B-%Y\'))`\" output: word_document: fig_caption: yes fig_height: 4 fig_width: 7 reference_docx: %userprofile%\\Documents\\template.docx --- But YAML complains about %userprofile% . Is it possible to include such a variable? I have tried e.g. reference_docx: \"`r file.path(path.expand(\'~\'), \'skabelon.docx\')`\" But that still results in this YAML error. pandoc.exe: `r file.path(path.expand(\'~\'), \'skabelon