update_games: Update Games wiki page(s)

View source: R/update_games.R

update_gamesR Documentation

Update Games wiki page(s)

Description

update_games() updates piecepack wiki Games page(s) using wikiput.pl.

Usage

update_games(
  update = FALSE,
  minor = FALSE,
  summary = "Update Games page",
  username = getOption("ppwicker_username"),
  password = getOption("ppwicker_password"),
  games = NULL
)

Arguments

update

If already downloaded previously, should we download again?

minor

Is this a ‘minor’ wiki edit?

summary

Summary for wiki edit

username

Piecepack wiki username

password

Piecepack wiki password

games

If NULL (default) we update the "Games" wiki page. Otherwise we update the wiki page for each game in games using the wiki markup in the txt subdirectory of tools::R_user_dir("ppwicker", "cache"). Name needs to be the same as the wiki article URL.

Details

You may need a wiki admin password to use this function, any attempt at using this function with a NULL password failed.


piecepackr/ppwicker documentation built on July 16, 2022, 3:25 a.m.