powered by
workdir(repo)## S3 method for class 'git_repository': workdir(repo)
## S3 method for class 'git_repository': workdir(repo)
object
NULL
## Create a directory in tempdir path <- tempfile(pattern="git2r-") dir.create(path) ## Initialize a repository repo <- init(path) ## Get the path of the workdir for repository workdir(repo)
Run the code above in your browser using DataLab