Skip to contents

This function updates or creates the _extensions/surveydown-dev/surveydown folder with the latest contents from the surveydown-ext repository.

Usage

sd_update_extension(path = getwd())

Arguments

path

A character string specifying the directory in which to update or create the extension. Defaults to the current working directory.

Value

Invisibly returns TRUE if the extension was successfully updated.

Details

This function downloads the latest version of the surveydown extension from GitHub, and updates the local copy in the specified path. If the extension directory doesn't exist, it will be created.

Examples

if (FALSE) { # \dontrun{
sd_update_extension()
sd_update_extension(path = "path/to/survey")
} # }