Package Details: r-testthat

Git Clone URL: (read-only, click to copy)
Package Base: r-testthat
Description: Unit Testing for R
Upstream URL:
Licenses: MIT
Submitter: editicalu
Maintainer: greyltc (peippo)
Last Packager: peippo
Votes: 4
Popularity: 0.000349
First Submitted: 2019-03-24 13:38 (UTC)
Last Updated: 2024-04-16 08:24 (UTC)

Latest Comments

peippo commented on 2024-04-16 08:26 (UTC)

Alright, so I decided to skip the vignettes in check(), as the error does not seem to be severe and is probably related to the (now) four-section version number, only. Should build fine, now

peippo commented on 2024-04-16 07:21 (UTC)

I know v3.2.1.1 is out and have started updating the PKGBUILD. However, tests are currently failing (see this issue:, and I’d like to investigate them more closely, preferably resolving the issue at hand before uploading a new PKGBUILD. If you need to build testthat before that happens and accept the possible consequences, keep check() commented out and increase the version number

Spixmaster commented on 2023-10-26 11:21 (UTC)

It works now! Thank you very much @pekkarr for identifying the issue and @peippo for maintaining those packages.

peippo commented on 2023-10-24 15:52 (UTC)

@Spixmaster @pekkarr: I moved r-cpp11 into the optdepends of r-pkgbuild, could you check again?

pekkarr commented on 2023-10-24 15:35 (UTC)

@peippo actually the issue here is that r-pkgbuild depends on r-cpp11 even though it shouldn't: it's only listed in Suggests so it should be in optdepends instead of depends.

peippo commented on 2023-10-24 15:18 (UTC)

@Spixmaster: the place it breaks is r-cpp11’s checkdepends. Comment those out or ask the PKGBUILD author to comment them out, then it should also build with paru

Spixmaster commented on 2023-10-24 12:02 (UTC)

This package does not install. I assume it is due to circular dependencies.

❯ paru -S r-testthat
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (3) r-cpp11-0.4.6-1  r-pkgbuild-1.4.2-2  r-pkgload-1.3.3-1
Aur Make (2) r-testthat-3.2.0-1  r-mockery-0.4.4-1

:: Proceed to review? [Y/n]: Y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
error: can't build r-testthat-3.2.0-1, deps not satisfied: r-pkgload>=
error: can't build r-mockery-0.4.4-1, deps not satisfied: r-testthat
error: can't build r-cpp11-0.4.6-1, deps not satisfied: r-mockery  r-testthat
error: can't build r-pkgbuild-1.4.2-2, deps not satisfied: r-cpp11
error: can't build r-pkgload-1.3.3-1, deps not satisfied: r-pkgbuild
error: packages failed to build: r-testthat-3.2.0-1  r-mockery-0.4.4-1  r-cpp11-0.4.6-1  r-pkgbuild-1.4.2-2  r-pkgload-1.3.3-1

dviktor commented on 2022-01-13 19:08 (UTC)

Further maintenance and support for this package has been moved there. You can install pre-built packages from my repo