gy_saveRDS: Save and read encrypted RDS

View source: R/gy_saveRDS.R

gf_saveRDSR Documentation

Save and read encrypted RDS

Description

Save and read encrypted RDS

Usage

gy_saveRDS(
  object,
  file = stop("file must be specified (.rdg file extension is recommended)"),
  users = character(0),
  local_user = TRUE,
  comment = "",
  overwrite = FALSE,
  ascii = FALSE,
  funs = list(type = "identity"),
  ...
)

gy_readRDS(
  file = stop("file must be specified (.rdg file extension is recommended)"),
  run_custom = TRUE
)

Arguments

object

the object to encrypt

file

the filename to which the encrypted object will be saved

users

one or more users who will be authorised to decrypt the file

local_user

should the local user be able to decrypt the file?

comment

a comment to include

overwrite

should the file be overwritten, if it exists?

ascii

argument passed to saveRDS

funs

argument passed to saveRDS

...

arguments passed to gy_serialise

run_custom

should any custom decryption functions be run automatically?


ku-awdc/goldeneye documentation built on Jan. 30, 2024, 12:35 a.m.