[Rd] R-devel (rev 76409) fails 'make check': non-generic function 'isSymmetric' given to findMethods()

Benjamin Tyner btyner @end|ng |rom gm@||@com
Mon Apr 22 03:02:30 CEST 2019


Duncan that does indeed look to be the case. Many thanks!

In particular, tests/reg-tests-1d.R optionally loads the Matrix 
namespace which allows the test to succeed. Compare:

    ~/R-rc_2019-04-21_r76409/bin/Rscript -e "options(warn=2);
    library(Matrix); res <- findMethods('isSymmetric'); print('success')"
    [1] "success"

versus

    ~/R-rc_2019-04-21_r76409/bin/Rscript -e "options(warn=2); res <-
    findMethods('isSymmetric'); print('success')"
    Error in findMethods("isSymmetric") :
       (converted from warning) non-generic function 'isSymmetric' given
    to findMethods()
    Execution halted


On 4/21/19 7:47 PM, Duncan Murdoch wrote:
>
> Likely the problem is that you don't have the recommended packages 
> loaded.  When I was running tests regularly, they were required. 
> Later, I think they became optional.  Perhaps a new test has been 
> added that once again assumes the required packages are installed.
>
> Duncan Murdoch
>



More information about the R-devel mailing list