tests/testthat/test_plotTensor3D.R

tmp <- tempdir()
out <- toyModel(model="CP")
filename <- paste0(tmp, "/tmp.png")

png(filename=filename)
plotTensor3D(out)
dev.off()

expect_true(file.exists(filename))

Try the nnTensor package in your browser

Any scripts or data that you put into this service are public.

nnTensor documentation built on July 9, 2023, 7:37 p.m.