diff --git a/textproc/R-htmltools/Makefile b/textproc/R-htmltools/Makefile
index 6b0df7ece2b9..9cad02ae6bc8 100644
--- a/textproc/R-htmltools/Makefile
+++ b/textproc/R-htmltools/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2019/08/08 19:53:57 brook Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/05 08:02:32 mef Exp $
R_PKGNAME= htmltools
-R_PKGVER= 0.3.6
+R_PKGVER= 0.5.1.1
CATEGORIES= textproc
MAINTAINER= minskim@NetBSD.org
@@ -9,6 +9,11 @@ COMMENT= Tools for HTML
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
DEPENDS+= R-digest>=0.6.20:../../security/R-digest
+# Packages suggested but not available: 'ragg'
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+TEST_DEPENDS+= R-Cairo-[0-9]*:../../graphics/R-Cairo
+#EST_DEPENDS+= R-ragg-[0-9]*:../../devel/R-ragg
+TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
USE_LANGUAGES+= c c++
diff --git a/textproc/R-htmltools/distinfo b/textproc/R-htmltools/distinfo
index 4a9822b45d9b..cf23d23f91df 100644
--- a/textproc/R-htmltools/distinfo
+++ b/textproc/R-htmltools/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/05/12 21:54:24 minskim Exp $
+$NetBSD: distinfo,v 1.2 2021/06/05 08:02:32 mef Exp $
-SHA1 (R/htmltools_0.3.6.tar.gz) = e1c77d1b37509e0e0d44fa2af880dc63b4cd9327
-RMD160 (R/htmltools_0.3.6.tar.gz) = e3a5b959040e9b7f12838cbe0b4132e998af71d5
-SHA512 (R/htmltools_0.3.6.tar.gz) = a0ebe5bdc2fb71c782bfc50686356dec970d0bd67e053df8beb7f0397266416ff9e3cc1bba72df16da39f2dc82f755b32a87046f39d9fe7f52b308d23b017522
-Size (R/htmltools_0.3.6.tar.gz) = 45408 bytes
+SHA1 (R/htmltools_0.5.1.1.tar.gz) = 6be8d7ebdca06c82afc100627de1676e25b92674
+RMD160 (R/htmltools_0.5.1.1.tar.gz) = d2bce997c648851ceaa613b6c2b4fb6b4ddf2a4a
+SHA512 (R/htmltools_0.5.1.1.tar.gz) = 45414e7d71a1d554f89086fbac9938c1cfd299b4480ee678abd86571af84b53acfa021bdd5d2c40194f4acf1163787e2b7539ebe1d1abf7eea57297cca7888b8
+Size (R/htmltools_0.5.1.1.tar.gz) = 71567 bytes