Learn R Programming

GRANCore (version 0.2.7)

RepoToList: Transform a GRANRepository object into a list

Description

Utility to transform a GRANRepository object into a list so that repos saved using GRANBase can be loaded by GRAN without requiring GRANBase

Usage

RepoToList(repo)

RepoFromList(rlist)

Arguments

repo

repository

rlist

A list with entries that are slot name-value pairs for a GRANRepository object

Value

a list suitable for use with RepoFromList

a GRANRepository object

Examples

Run this code
# NOT RUN {
repo = GRANRepository(GithubManifest("gmbecker/switchr"), basedir = tempdir())
lst = RepoToList(repo)
repo2 = RepoFromList(lst)
# }

Run the code above in your browser using DataLab