added thestthat
Build and deploy Roxygen2|pkgdown documentation site / build-and-deploy-documentation (push) Failing after 7s

test files in tests/testthat/
This commit is contained in:
Simon Innerbichler
2026-05-25 09:36:45 +02:00
parent e71cfd1b6a
commit 12eabc4d0c
4 changed files with 22 additions and 1 deletions
+4
View File
@@ -4,3 +4,7 @@
.RData
.Ruserdata
.positai
.png
man
docs
pkgdown
+3 -1
View File
@@ -41,4 +41,6 @@ License: Commercial, all rights reserved
Encoding: UTF-8
LazyData: true
Config/roxygen2/version: 8.0.0
Suggests:
testthat (>= 3.0.0)
Config/testthat/edition: 3
+12
View File
@@ -0,0 +1,12 @@
# This file is part of the standard setup for testthat.
# It is recommended that you do not modify it.
#
# Where should you do additional test configuration?
# Learn more about the roles of various files in:
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
# * https://testthat.r-lib.org/articles/special-files.html
library(testthat)
library(DashboardApp)
test_check("DashboardApp")
+3
View File
@@ -0,0 +1,3 @@
test_that("multiplication works", {
expect_equal(2 * 2, 4)
})