Error(s) in re-building vignettes:
  ...
--- re-building ‘crash-course-on-gravity-models.Rmd’ using rmarkdown

Attaching package: 'gravity'

The following object is masked from 'package:stats':

    nls

Warning: The `add` argument of `group_by()` is deprecated as of dplyr 1.0.0.
Please use the `.add` argument instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
Warning: `...` is not empty.

We detected these problematic arguments:
* `needs_dots`

These dots only exist to allow future extensions and should be empty.
Did you misspecify an argument?
Warning: `...` is not empty.

We detected these problematic arguments:
* `needs_dots`

These dots only exist to allow future extensions and should be empty.
Did you misspecify an argument?
Warning: `...` is not empty.

We detected these problematic arguments:
* `needs_dots`

These dots only exist to allow future extensions and should be empty.
Did you misspecify an argument?
Warning: `...` is not empty.

We detected these problematic arguments:
* `needs_dots`

These dots only exist to allow future extensions and should be empty.
Did you misspecify an argument?
Warning: `...` is not empty.

We detected these problematic arguments:
* `needs_dots`

These dots only exist to allow future extensions and should be empty.
Did you misspecify an argument?
Warning: `...` is not empty.

We detected these problematic arguments:
* `needs_dots`

These dots only exist to allow future extensions and should be empty.
Did you misspecify an argument?
Quitting from lines 212-221 (crash-course-on-gravity-models.Rmd) 
Error: processing vignette 'crash-course-on-gravity-models.Rmd' failed with diagnostics:
`x` must not have more than one dimension. `length(dim(x))` must be zero or one, not 2.
--- failed re-building ‘crash-course-on-gravity-models.Rmd’

--- re-building ‘creating-gravity-datasets.Rmd’ using rmarkdown
--- finished re-building ‘creating-gravity-datasets.Rmd’

SUMMARY: processing the following file failed:
  ‘crash-course-on-gravity-models.Rmd’

Error: Vignette re-building failed.
Execution halted