use_liblog: log calls to loadNamespace

Description Usage Arguments Details

View source: R/use_liblog.R

Description

This will log the calls to loadNamespace() to the file whose path is defined by getOption("liblog.path").

Usage

1
use_liblog(verbose = TRUE)

Arguments

verbose

wether to display a message, better keep default (TRUE) to be reminded that the RProfile has modified the environment.

Details

By default getOption("liblog.path") is file.path(R.home(), "loadNamespace.log"). Change it using options(liblog.path = your_path).

We advise you to insert the instruction liblog::use_liblog() anywhere in your RProfile. You can open your RProfile with file.edit(file.path(R.home(), "etc", "RProfile.site"))


moodymudskipper/liblog documentation built on Feb. 26, 2020, 12:52 a.m.