# creating example Repository - that examples will work
exampleRepoDir <- tempdir()
hashes <- searchInGithubRepo( pattern="name", user="pbiecek", repo="archivist", fixed=FALSE )
createEmptyRepo( exampleRepoDir )
copyGithubRepo( repoTo = exampleRepoDir , md5hashes= hashes, user="pbiecek", repo="archivist" )
# removing an example Repository
deleteRepo( exampleRepoDir )
rm( exampleRepoDir )
Run the code above in your browser using DataCamp Workspace