Skip to content

Unable to run autotest in the "sits" package #81

@gilbertocamara

Description

@gilbertocamara

As part of the pre-submission process of the package "sits" to the ROpenSci statistical review, as recommended by @maelle, I am running autotest_package . I made sure that all the examples and tests run OK. However, when running autotest_package, I am finding an error, which appears to be related to an internal check in autotest. Please see the MWE

devtools::install_github("e-sensing/sits@dev")
# All examples run OK
withr::with_envvar(new = c("SITS_RUN_EXAMPLES" = "TRUE"), devtools::run_examples())
(...) 
# autotest_package fails
withr::with_envvar(new = c("SITS_RUN_EXAMPLES" = "TRUE"), autotest::autotest_package("sits"))

Error in if (qts[[i]][1] > 0) { : missing value where TRUE/FALSE needed

Given that all examples run, could you please help find what the problem is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions