codecheckers / register

Register of CODECHECK certificates
https://codecheck.org.uk/register/
Other
6 stars 2 forks source link

Construct paths with functions, not string concatenation #70

Open nuest opened 3 months ago

nuest commented 3 months ago

Instead of

paste0(getwd(), "/docs/index_postfix_template.html")

we should do something like

file.path(getwd(), "docs", "index_postfix_template.html"))

Or us the fs package, see https://fs.r-lib.org/reference/path.html