[Rd] New behavior when running script in package directory?

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Thu Jun 22 16:28:50 CEST 2023


>>>>> Mikael Jagan 
>>>>>     on Wed, 21 Jun 2023 12:41:02 -0400 writes:

    > Surely this behaviour is just a case of ESS being "too clever", sourcing
    > *.R files in special way when it detects that a file belongs to a package
    > (loading dependencies automatically, etc.)?

    > The function ss() is defined inside of .ess.source(), which is defined here:

    > https://github.com/emacs-ess/ESS/blob/5c4ae91cefa5c56fd13b204a9a996825af836a67/etc/ESSR/R/.basic.R#L168

    > If you think that there is a bug, then you could report it there ...

    > Mikael

Indeed.
I have now replied to this CC'ing to  ESS-help using ... instead of R-devel using ...

It's visible in the mailing list *archives* now:
   https://stat.ethz.ch/pipermail/ess-help/2023-June/013203.html

Martin


[.................]



More information about the R-devel mailing list