testdown icon indicating copy to clipboard operation
testdown copied to clipboard

Possible to add to pkgdown site?

Open jimbrig opened this issue 3 years ago • 3 comments

I'm wondering if you have any advice on how to add the testdown report to a packages pkgdown navbar?

jimbrig avatar Sep 21 '22 22:09 jimbrig

Any ideas?

jimbrig avatar Sep 01 '23 00:09 jimbrig

hi,

yes, I thanks that the solution is already in https://github.com/ThinkR-open/lozen but I will let @ymansiaux to show you :)

VincentGuyader avatar Sep 01 '23 12:09 VincentGuyader

Hi @jimbrig ,

Indeed, as Vincent said, what you are looking for is present in the {lozen} package.

You can use the following :

lozen::build_pkgdown_with_reports(reports = "testdown")

Thereafter, if you open public/index.html you can see the {testdown} report included in a specific tab of your pkgdown.

image

I hope this helps,

Yohann

ymansiaux avatar Sep 04 '23 11:09 ymansiaux