ThinkR-open / attachment

Tools to deal with dependencies in scripts, Rmd and packages
https://thinkr-open.github.io/attachment/
Other
108 stars 13 forks source link

Package misspelled in DESCRIPTION error after `attachment::att_amend_desc()` #68

Closed markruddy closed 1 year ago

markruddy commented 1 year ago

Starting out with {golem} and attempting to get to run_app() for the first time.

Running attachment::att_amend_desc() from dev/02_dev.R and get the following:

> attachment::att_amend_desc()
Updating spatialGolex documentation
ℹ Loading spatialGolex
Writing NAMESPACE
Writing NAMESPACE
ℹ Loading spatialGolex
Error in att_to_desc_from_is(path.d, imports, suggests, normalize, must.exist) : 
  The package spelling is missing or misspelled.
Please correct your typo or install it.

Package spelling is in the DESCRIPTION:

Package: spatialGolex
Title: Spatial Shiny app
....
Suggests: 
    spelling,
    testthat (>= 3.0.0)
Config/testthat/edition: 3
....

Could I have done something wrong elsewhere?

statnmap commented 1 year ago

I transferred your issue because it is about {attachment}.
It seems that {spelling} is not installed on your machine.

statnmap commented 1 year ago

If you do not plan to install this package on your machine, you can also tell {attachment} to not bother with:

att_amend_desc(
  must.exist = FALSE
)

See the documentation for more options: https://thinkr-open.github.io/attachment/reference/att_amend_desc.html

markruddy commented 1 year ago

Thanks, resolved.