update_logo: Update logo

View source: R/update_logo.R

update_logoR Documentation

Description

Update the logo to be used in the README file.

Usage

update_logo(
  pkg = stringi::stri_extract_last_words(usethis::proj_path()),
  pkg_path = usethis::proj_path()
)

Arguments

pkg

[character(1)]
The package name. Defaults to stringi::stri_extract_last_words(usethis::proj_path()).

pkg_path

[character(1)]
The path to the package directory. Defaults to usethis::proj_path().

Details

If the package logo has been created, the logo is copied from NVIrpackages to the package directory "./man/figures/". If the logo already exists, the logo is overwritten.

Value

None. Copies the the logo file to the directory "./man/figures/".

Author(s)

Petter Hopp Petter.Hopp@vetinst.no

Examples

## Not run: 
# Attach packages and set up with temporary directory
library(NVIpackager)
update_logo()

## End(Not run)

PetterHopp/NVIpackager documentation built on Sept. 14, 2024, 1:24 a.m.