test_that("correct base packages", {
basepkgs <- baserecpkgs[ baserecpkgs$Priority=='base',]
rpkgs0 <- getRpkgs()
rpkgs <- rpkgs0[!is.na(rpkgs0$Priority) & rpkgs0$Priority=='base', c('Package', 'Priority')]
expect_equal(basepkgs[order(basepkgs$Package), ], rpkgs[order(rpkgs$Package),])
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.