Closed etiennebacher closed 4 months ago
The examples on the website have an annoying prefix before them:
I might be missing something but it seems to me that this prefix is here to correctly mark lints in Github actions output: https://github.com/r-lib/lintr/blob/main/R/actions.R
I guess the issue is that the pkgdown workflow runs on Github actions so this printing method is enabled. However, I don't think it's useful to show this on the website. Maybe you could tweak in_github_actions() to be FALSE when IN_PKGDOWN is TRUE?
pkgdown
in_github_actions()
FALSE
IN_PKGDOWN
TRUE
Good idea. See https://github.com/r-lib/lintr/pull/2633 :)
The examples on the website have an annoying prefix before them:
I might be missing something but it seems to me that this prefix is here to correctly mark lints in Github actions output: https://github.com/r-lib/lintr/blob/main/R/actions.R
I guess the issue is that the
pkgdown
workflow runs on Github actions so this printing method is enabled. However, I don't think it's useful to show this on the website. Maybe you could tweakin_github_actions()
to beFALSE
whenIN_PKGDOWN
isTRUE
?