Open hrryt opened 2 months ago
I'm having trouble playing this on a Mac - it can only play upon opening an x11() window. I suggest adding checks for which displays are available.
Using a trackpad, I can place flags on any of the tiles, but none of the other functions seem to work.
Hi Maarten,
play_minesweeper()
errors intentionally if the current device does not support event handling; see ?play_minesweeper
. Devices that support event handling include windows()
, X11(type = "Xlib")
and X11(type = "cairo")
(see ?getGraphicsEvent
), which explains why it worked upon opening an x11()
window. Perhaps I should make this clearer in the documentation.
I have played this using a trackpad with no issues, so I'm not sure how to help in that regard. Flagging is the only function that uses the right mouse button rather than the left, if that helps.
First release:
usethis::use_news_md()
usethis::use_cran_comments()
Title:
andDescription:
@return
and@examples
Authors@R:
includes a copyright holder (role 'cph')Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
git push
Submit to CRAN:
usethis::use_version('major')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)
usethis::use_news_md()