I am able to upload a file to SharePoint folder through a shiny app from a Rshiny server. However, I am not able to check in the file. Any advice please? I am not able to implement the suggestion provided here [https://stackoverflow.com/questions/28341625/performing-multiple-requests-using-curl-with-different-options]. I am not able to dynamically update the node element value for the pageURL in the XML file.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CheckInFile xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<pageUrl>https://mysharepointserver.com/sites/mysite/myfile.txt</pageUrl>
<comment>Automagic update</comment>
<checkinType>0</checkinType>
</CheckInFile>
</soap:Body>
</soap:Envelope>