KentonWhite / ProjectTemplate

A template utility for R projects that provides a skeletal project.
http://projecttemplate.net
GNU General Public License v3.0
622 stars 159 forks source link

Missing spaces in warning #295

Closed eribul closed 4 years ago

eribul commented 4 years ago

Just missing some spaces in a warning.

Current:

Warning message:
In .require.package("digest") :
  Loading librarydigestinto workspace as a side effect of loading data.
  Normally, there is no need to attach a package for this purpose.
  To turn off this warning, change the "attach_internal_libraries" setting in your
  configuration to FALSE.

Hence "librarydigestinto" should probably be "library digest into" (perhaps a use of paste instead of paste0 or similar)

Hugovdberg commented 4 years ago

This is probably because the ... argument to warning takes "zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object.". The leading and trailing text should therefore end and start with a space.