tests/testthat/test_plot_argo.R

# vim:textwidth=80:expandtab:shiftwidth=4:softtabstop=4
library(oce)
data(argo)

test_that("plot works on indexed subsets", {
    for (which in 1:6) {
        expect_silent(plot(argo[["profile", 1]], which=which)) # failed before fixing issue 1603
        expect_silent(plot(argo[["profile", 1:3]], which=which))
    }
})

Try the oce package in your browser

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

oce documentation built on July 9, 2023, 5:18 p.m.