setwd("C:/Users/bpres/Desktop")
if (!require("devtools")) {
install.packages("devtools")
library("devtools")
}
# To install from the local drive:
devtools::install("fieldreportr")
library("fieldreportr")
# To install from the bitbucket remote:
# For Brad
devtools::install_bitbucket("bpresentati/fieldreportr", password = "Csimonsmith28??")
library("fieldreportr")
# For Others:
devtools::install_bitbucket("bpresentati/fieldreportr", auth_user = "???", password = "???")
library("fieldreportr")
# To deload it:
detach("package:fieldreportr", unload = TRUE)
remove.packages("fieldreportr")
# To check which functions are included:
help(package = "fieldreportr")
#-------------------------------------
# To give to others:
if (!require("devtools")) {
install.packages("devtools")
library("devtools")
}
# Need to fill in auth_user and password with your bitbucket username and password
devtools::install_bitbucket("bpresentati/fieldreportr", auth_user = "???", password = "???")
library("fieldreportr")
# Test to see if the package is loaded and the help files are there:
?Write_Surveys_to_Backup_Files
# Get rid of it again:
remove.packages("fieldreportr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.