decrypt_gs4_token: Decrypts the Google token that is included in this package

Description Usage Arguments

View source: R/functions.R

Description

If you have received a decryption key by the author, then use the function to get access to the relevant Googlesheets. If you have received one then please copy it to your project directory. It only need to be used once per project. Note that this allows for the author to monitor students' progress throughout the tutorials but the tutorials can also run without these functionality enabled. In such a case a local file will be created to monitor progress.

Usage

1
2
3
4
5
decrypt_gs4_token(
  private_key_path = file.path(getwd(), "id_rsa"),
  gs4_token_decr_folder = getwd(),
  force = FALSE
)

Arguments

private_key_path

The path to the private key. By default a key named id_rsa in the current working directory.

gs4_token_decr_folder

The folder where the decrypted token will be created. By default in the current working directory.

force

If TRUE and a file named gs4_token_decr.json already exists in gs4_token_decr_folder then the existing file is overwritten.


ChristK/CKteachR documentation built on Dec. 31, 2020, 10:59 a.m.