knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of SharepointR is to make use of Microsoft Graph API to access and modify Microsoft Sharepoint items.
Passwords, access tokens, API keys are not stored here. So, installation will require the following steps:
.Rprofile
file in location Sys.getenv("R_USER")
to ensure the following:readRenviron(paste0(Sys.getenv("R_USER"), "/.Renviron"))
.Renviron
file in location Sys.getenv("R_USER")
to ensure the following:SHAREPOINT_CLIENTID
= <>
SHAREPOINT_CLIENTSECRET
= <>
SHAREPOINT_REALM
= <>
Get these from [portal.azure.com](portal.azure.com). More instructions in Sharepoint Token Resource below:
devtools::install_github("officepd/SharepointR")
REFERENCE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.