fnUpdate: A function to automate updating the psychometricsPSMD...

Description Usage Arguments Note Author(s) Examples

Description

A function to automate updating the psychometricsPSMD package.

Usage

1
fnUpdate(PackageName, Reinstall)

Arguments

PackageName

Can be omitted if you want to update psychometricsPSMD as it defaults to this. Specifying any other name should update the named package, but ssee 'Note' section.

Reinstall

Reinstall determines whether the package is reinstalled and reattached regardless of its current status (e.g. When Reinstall==TRUE, the package named in PackageName will be reinstalled and reattached even if it is already installed and/or attached). Set Reinstall=TRUE for updating psychometricsPSMD.

Note

DZ260417: The argument character.only = TRUE works for library(), but possibly not for install.packages. So although PackageName in fnUpdate() could be changed to install and attach any package, it might hit errors at the install.package() phase. PackageName currently defaults to psychometricsPSMD though, so unless specified otherwise, fnUpdate handles psychometricsPSMD

Author(s)

Dr Daniel Zahra, e:psychometrics@plymouth.ac.uk

Examples

1
fnUpdate(Reinstall = TRUE) will force a clean install and reattachment of psychometricsPSMD.

PSMD-Psychometrics/psychometricsPSMD documentation built on May 5, 2019, 8 p.m.