Skip to content
Back to formatted view

Raw Message

Message-ID: <CAMyz+tWQS=uOHL2miX=jj1JO-kDmWD6KR8AQkaZ-WcEVDK19ug@mail.gmail.com>
Date: 2020-12-11T17:32:14Z
From: Tiago Olivoto
Subject: [R-pkg-devel] Assigning a variable to global environment

Hi everyone,
This can be a very simple question, but I really have the following doubt.

CRAN Policies says that 'Packages should not modify the global environment
(user?s workspace)'. So, may I or may I not create a function that will
call internally the following code? (a simple example)

assign("name", 1, envir = .GlobalEnv)

Cheers
Tiago

	[[alternative HTML version deleted]]