CRAN Package Check Results for Package caracas

Last updated on 2021-07-24 07:49:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 9.64 107.83 117.47 OK
r-devel-linux-x86_64-debian-gcc 1.1.1 8.07 83.48 91.55 OK
r-devel-linux-x86_64-fedora-clang 1.1.1 162.34 OK
r-devel-linux-x86_64-fedora-gcc 1.1.1 154.27 OK
r-devel-windows-x86_64 1.1.1 10.00 102.00 112.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.1.1 ERROR
r-patched-linux-x86_64 1.1.1 10.57 105.30 115.87 OK
r-patched-solaris-x86 1.1.1 193.00 OK
r-release-linux-x86_64 1.1.1 8.35 104.77 113.12 OK
r-release-macos-arm64 1.1.0 OK
r-release-macos-x86_64 1.1.1 OK
r-release-windows-ix86+x86_64 1.1.1 20.00 114.00 134.00 OK
r-oldrel-macos-x86_64 1.1.1 OK
r-oldrel-windows-ix86+x86_64 1.1.1 21.00 150.00 171.00 OK

Check Details

Version: 1.1.1
Check: examples
Result: ERROR
    Running examples in 'caracas-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: diag<-.caracas_symbol
    > ### Title: Replace diagonal
    > ### Aliases: diag<-.caracas_symbol
    >
    > ### ** Examples
    >
    > if (has_sympy()) {
    + A <- matrix(c("a", 0, 0, 0, "a", "a", "a", 0, 0), 3, 3)
    + B <- as_sym(A)
    + B
    + diag(B)
    + diag(B) <- "b"
    + B
    + diag(B)
    + }
    Error in py_get_attr_impl(x, name, silent) :
     AttributeError: MutableDenseMatrix has no attribute diagonal.
    
    Detailed traceback:
     File "C:\Users\tomas\AppData\Local\basilisk\105CB4~1.2\0\lib\site-packages\sympy\matrices\matrices.py", line 2141, in __getattr__
     "%s has no attribute %s." % (self.__class__.__name__, attr))
    Calls: diag ... py_get_attr_or_item -> py_get_attr -> py_get_attr_impl
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.1.1
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. +-caracas::diag(B)
     5. \-caracas:::diag.caracas_symbol(B)
     6. +-caracas::eval_to_symbol(x$pyobj$diagonal())
     7. | \-base::grepl("[0-9-.]+/[0-9-.]+", x, perl = TRUE)
     8. | \-base::is.factor(x)
     9. +-x$pyobj$diagonal
     10. \-reticulate:::`$.python.builtin.object`(x$pyobj, "diagonal")
     11. \-reticulate:::py_get_attr_or_item(x, name, TRUE)
     12. \-reticulate::py_get_attr(x, name)
     13. \-reticulate:::py_get_attr_impl(x, name, silent)
    
     [ FAIL 5 | WARN 0 | SKIP 0 | PASS 307 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.1.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'ar-ssm.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    --- finished re-building 'ar-ssm.Rmd'
    
    --- re-building 'arbitrary-precision-arithmetic.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    --- finished re-building 'arbitrary-precision-arithmetic.Rmd'
    
    --- re-building 'fastest-route.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    --- finished re-building 'fastest-route.Rmd'
    
    --- re-building 'introduction.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    --- finished re-building 'introduction.Rmd'
    
    --- re-building 'linear-algebra.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    --- finished re-building 'linear-algebra.Rmd'
    
    --- re-building 'reference.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    Quitting from lines 200-214 (reference.Rmd)
    Error: processing vignette 'reference.Rmd' failed with diagnostics:
    AttributeError: MutableDenseMatrix has no attribute diagonal.
    
    Detailed traceback:
     File "C:\Users\tomas\AppData\Local\basilisk\105CB4~1.2\0\lib\site-packages\sympy\matrices\matrices.py", line 2141, in __getattr__
     "%s has no attribute %s." % (self.__class__.__name__, attr))
    
    --- failed re-building 'reference.Rmd'
    
    --- re-building 'sympy-object.Rmd' using rmarkdown
    
    Attaching package: 'caracas'
    
    The following objects are masked from 'package:base':
    
     %*%, det, diag, diag<-
    
    --- finished re-building 'sympy-object.Rmd'
    
    SUMMARY: processing the following file failed:
     'reference.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT