ropensci / redland-bindings

Redland librdf language bindings
http://librdf.org/bindings/
Other
17 stars 3 forks source link

fix NOTE on lack of new_roclet symbol #72

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Our CRAN check page reports that new_roclet is an undefined symbol:

checking R code for possible problems ... [9s/9s] NOTE
mergeNamespace_roclet: no visible global function definition for
  ‘new_roclet’
Undefined global functions or variables:
  new_roclet

Check and fix this.

gothub commented 6 years ago

@mbjones this should have been fixed in commit a5c97142753a374b3acf4f5dff589fd7a2221924 with updates for Roxygen 6.0.1, when the associated Roxygen function name changed.

mbjones commented 6 years ago

Hmm. For some reason that was not getting picked up in my build from master. Can you verify that a clean build from master includes this fix?

gothub commented 6 years ago

Good idea. I just now built redlands (master branch) from a freshly cloned project then built and checked on:

cboettig commented 6 years ago

On the possible spell check issue: @jeroen notes that if you add Language to your description file, CRAN will skip the spell check. Also recommends spelling::spell_check_setup() or usethis::use_spell_check() to set up a WORDLIST so that R doesn't flag them (I think).

gothub commented 6 years ago

@cboettig Running spelling::spell_check_setup() adds the Language directive to DESCRIPTION, adds inst/WORDLIST and also adds a unit test to run the spelling check . Nice!

Added these generated files in commit c2931bda2e93fc819ecac6fe330817c017a0f613

jeroen commented 6 years ago

Can we try to schedule a CRAN release? Because this has a fix for the upcoming new windows toolchain.

gothub commented 6 years ago

@jeroen I have to finish/close https://github.com/ropensci/redland-bindings/issues/72 (this one) and https://github.com/ropensci/redland-bindings/issues/71, retest and then we will be ready to release.

gothub commented 6 years ago

The original topic of this issue (commit commit a5c9714 ) has been verified on both macOS and Windows 7.