pik-piam / remind

Contains the REMIND-specific routines for data and model output manipulation.
3 stars 18 forks source link

lucode2::buildlibrary("remind") throws notes with R>4 #67

Closed giannou closed 4 years ago

giannou commented 4 years ago

The problem is the existence of 28 non-default packages in the Imports list. People who run R>4 can use the cluster to build the package, or have a colleague do it for them. As a permanent solution we can either remove dependencies, or allow a few notes. This has to be discussed and decided upon collectively.

giannou commented 4 years ago

Clarification question (couldn't find out online): "non-default" refers to packages not found on CRAN, or packages that are not the base package etc.?

0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented 4 years ago

To re-iterate and document my position from the RSE chat here:

0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented 4 years ago

"$%@#!" The whole discussion is moot. https://github.com/pik-piam/lucode2/blob/master/R/buildLibrary.R#L73-L91 buildLibrary() is already ignoring warnings inconvenient to it's lofty standards. Patch this warning in and be done with it!

0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented 4 years ago

Clarification question (couldn't find out online): "non-default" refers to packages not found on CRAN, or packages that are not the base package etc.?

Just found this:

Base and recommended packages (i.e., packages contained in the R source distribution or available from CRAN and recommended to be included in every binary distribution of R)

I guess this is as much information as we are going to get on this.

giannou commented 4 years ago
  • tl;dr: buildLibrary() delenda est! ;)

So you did read it after all :)

I agree with Michaja, will patch lucode2::buildlibrary()

tscheypidi commented 4 years ago

the note is now ignored in buildlibrary (lucode2 version >= 0.4.2) via the config file .buildlibrary in the remind package