Use testthat, rather than tinytest
tinytest doesn't exist in older MRAN snapshots
MODIFY
tests/conda/r3.6/environment.yml
tests/conda/r3.6/environment.yml
dependencies:
- r-base=3.6
- - r-tinytest
+ - r-testthat

MODIFY
tests/conda/r3.6/verify
tests/conda/r3.6/verify
jupyter serverextension list 2>&1 | grep jupyter_server_proxy
jupyter nbextension list 2>&1 | grep jupyter_server_proxy
-R -e "library('tinytest')"
+R -e "library('testthat')"
# Fail if version is not 3.6
R -e 'if (!(version$major == "3" && as.double(version$minor) >= 6 && as.double(version$minor) < 7)) quit("yes", 1)'

MODIFY
tests/r/mran/install.R
tests/r/mran/install.R
-install.packages("tinytest")
+install.packages("testthat")

MODIFY
tests/r/mran/verify
tests/r/mran/verify
#!/usr/bin/env Rscript
-library('tinytest')
+library('testthat')
print(version)

MODIFY
tests/r/r3.6/install.R
tests/r/r3.6/install.R
-install.packages("tinytest")
+install.packages("testthat")

MODIFY
tests/r/r3.6/verify
tests/r/r3.6/verify
#!/usr/bin/env Rscript
-library('tinytest')
+library('testthat')
print(version)
# Fail if version is not 3.6

MODIFY
tests/r/r4.0-rspm/install.R
tests/r/r4.0-rspm/install.R
-install.packages("tinytest")
+install.packages("testthat")

MODIFY
tests/r/r4.0-rspm/verify
tests/r/r4.0-rspm/verify
#!/usr/bin/env Rscript
-library('tinytest')
+library('testthat')
print(version)
# Fail if version is not 4.0

MODIFY
tests/r/r4.0/install.R
tests/r/r4.0/install.R
-install.packages("tinytest")
+install.packages("testthat")

MODIFY
tests/r/r4.0/verify
tests/r/r4.0/verify
#!/usr/bin/env Rscript
-library('tinytest')
+library('testthat')
print(version)
# Fail if version is not 4.0

MODIFY
tests/r/r4.1/install.R
tests/r/r4.1/install.R
-install.packages("tinytest")
+install.packages("testthat")

MODIFY
tests/r/r4.1/verify
tests/r/r4.1/verify
#!/usr/bin/env Rscript
-library('tinytest')
+library('testthat')
# Fail if version is not 4.1
if (!(version$major == "4" && as.double(version$minor) >= 1 && as.double(version$minor) < 2)) {

MODIFY
tests/r/simple/install.R
tests/r/simple/install.R
-install.packages("tinytest")
+install.packages("testthat")

MODIFY
tests/r/simple/verify
tests/r/simple/verify
#!/usr/bin/env Rscript
-library('tinytest')
+library('testthat')
# Fail if version is not 4.1
if (!(version$major == "4" && as.double(version$minor) >= 1 && as.double(version$minor) < 2)) {

Use testthat, rather than tinytest

tinytest doesn't exist in older MRAN snapshots