knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

SharepointR

The goal of SharepointR is to make use of Microsoft Graph API to access and modify Microsoft Sharepoint items.

Installation

Passwords, access tokens, API keys are not stored here. So, installation will require the following steps:

  1. Create / modify .Rprofile file in location Sys.getenv("R_USER") to ensure the following:

readRenviron(paste0(Sys.getenv("R_USER"), "/.Renviron"))

  1. Create / modify .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



sanjidnet/SharepointR documentation built on Dec. 10, 2022, 8:10 a.m.