Tried to move inst/pauli_clifford.Rmd to the vignettes/ directory as I am trying to have stokes- style vignettes in the clifford package. But this broke R CMD build:
[snip]
--- re-building ‘clifford.Rnw’ using Sweave
Error: processing vignette 'clifford.Rnw' failed with diagnostics:
chunk 12 (label = grassmanalgebra)
Error in as.vector.clifford(x, mode) :
all(lapply(tx, length) == 1) is not TRUE
--- failed re-building ‘clifford.Rnw’
SUMMARY: processing the following file failed:
‘clifford.Rnw’
Error: Vignette re-building failed.
This took me a very long time to track down but eventually found that the problem was caused by the jordan package overwriting is.zero() which should be generic. See https://github.com/RobinHankin/jordan/issues/13
closing, I don't think there is any good way of fixing this. Packages are very isolated units, and this kind of inter-package cross-over functionality is generally not a good idea.
Tried to move
inst/pauli_clifford.Rmd
to thevignettes/
directory as I am trying to havestokes
- style vignettes in theclifford
package. But this brokeR CMD build
:This took me a very long time to track down but eventually found that the problem was caused by the
jordan
package overwritingis.zero()
which should be generic. See https://github.com/RobinHankin/jordan/issues/13