Skip to content

Check that another offset is not specified #41

Description

@dill

It's currently totally legal to write a dsm formula with an offset in it. This throws the following warning:

Warning message:
In av[kp] <- as.character(attr(tf, "variables")[1 + off]) :
  number of items to replace is not a multiple of replacement length

Usually the user will not want 2 offsets, so we should stop them doing this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions