build_and_insert_src: Build and insert source and binary packages.

Description Usage Arguments See Also Examples

View source: R/insert.R

Description

These are wrappers around drat::insertPackage() for convenience.

Usage

1
2
3
build_and_insert_src(file, repodir = ".")

build_and_insert_bin(file, repodir = ".")

Arguments

file

An R package in source or binary format,

repodir

A local directory corresponding to the repository top-level directory.

See Also

drat::insertPackage().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
path_to_source <- "../fgeo.x"
build_and_instert_src(path_to_source)

# If you are on windows
build_and_instert_bin(path_to_source)

# If you are on mac
build_and_instert_bin(path_to_source)

## End(Not run)

maurolepore/dratman documentation built on Dec. 21, 2021, 3:50 p.m.