79774675

Date: 2025-09-25 10:21:28
Score: 0.5
Natty:
Report link

According to ?withVisible (which informs about visibility), it is used by source and indeed, I have not found a way to circumvent that.

I would therefore suggest to wrap source in an anonymous function, keeping only its value:

lapply(list_of_scripts,
       function(file) { source(file)$value } )
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DriesB