vast-lib / tinyVAST

Expressive interface for multivariate spatio-temporal models
https://vast-lib.github.io/tinyVAST/
GNU General Public License v3.0
12 stars 2 forks source link

Eliminate data colnames ... #17

Closed James-Thorson-NOAA closed 10 months ago

James-Thorson-NOAA commented 10 months ago

... and change through testthat and vignettes

James-Thorson-NOAA commented 10 months ago

@seananderson Can you tell why the CI Action is failing? I can't work out what it's saying in the error when I did the last commit.

seananderson commented 10 months ago

That was a weird one. Your use of, e.g., [variables], when translated via roxygen means the documentation was looking for a help file named 'variables'. You instead want backticks.

James-Thorson-NOAA commented 10 months ago

Thanks! Ugh. I obviously haven't followed the syntax changes in Roxygen and am used to the \code{\link{x}} style instead of [x] style. Thanks for finding that one :0

seananderson commented 10 months ago

I think I like this!

tinyVAST(
  formula,
  data,
  sem = NULL,
  dsem = NULL,
  family = gaussian(),
  space_columns = c("x", "y"),
  spatial_graph = NULL,
  time_column = "time",
  times = NULL,
  variable_column = "var",
  variables = NULL,
  distribution_column = "dist",
  ...