Skip to content

hangman warnings during check #6

@Dasonk

Description

@Dasonk
File 'tsgames/R/hangman.R':
  assign(".hangmanoptions", c(wins = 0, losses = 0), envir = .GlobalEnv)
  assign(".hangmanoptions", .hangmanoptions + c(1, 0), envir = .GlobalEnv)
  assign(".hangmanoptions", .hangmanoptions + c(0, 1), envir = .GlobalEnv)
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented code objects:
  'DICTIONARY'
Undocumented data sets:
  'DICTIONARY'

There are some warnings due to hangman. The DICTIONARY warning should be easy enough to correct. I think we could get around the other warnings about writing to .GlobalEnv by defining an environment for hangmanoptions and using that instead of the global environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions