Some tests (reml-competition and variogram) use package spam which is correctly listed under the field Suggests: in DESCRIPTION. However, it is not loaded correctly within the tests (i.e. using if(require.package('spam')) ...
Some tests (e.g. animal) use the datasets packaged with breedR. While they usually load the dataset using data(), test_package() fails whenever breedR is not loaded beforehand. Check how is this supposed to be done.
these are two different issues:
spam
which is correctly listed under the field Suggests: in DESCRIPTION. However, it is not loaded correctly within the tests (i.e. usingif(require.package('spam')) ...
breedR
. While they usually load the dataset usingdata()
,test_package()
fails wheneverbreedR
is not loaded beforehand. Check how is this supposed to be done.