Skip to content

hangman warnings during check #6

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.

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

    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