config_Rprofile: Create or modify the '.Rprofile' file for a website project

View source: R/utils.R

config_RprofileR Documentation

Create or modify the ‘.Rprofile’ file for a website project

Description

If the file ‘.Rprofile’ does not exist in the current directory, copy the file from the ‘resources’ directory of blogdown. If the option blogdown.hugo.version is not found in this file, append options(blogdown.hugo.version = "VERSION") to it, where VERSION is obtained from hugo_version().

Usage

config_Rprofile()

Value

As a side-effect, the file ‘.Rprofile’ is created or modified.


blogdown documentation built on May 29, 2024, 8:55 a.m.