Closed yutannihilation closed 3 years ago
The benefit of integration testing. I've added this to #68.
Since pretty_rel_path
is only used for printing, it should simply return the original path if no package can be found. @Ilia-Kosenkov should be able to add this in #76.
Sounds good.
@Ilia-Kosenkov If you consider this issue addressed with #76, please go ahead and close.
This seems to work now.
(Originally found here: https://github.com/extendr/extendr/pull/190#issuecomment-798998867)
Currently it assumes the package root can be found, but I guess it might not be available in the case of
rust_source()
.https://github.com/extendr/rextendr/blob/74817048d578c640e77df740e1fa00071320a011/R/track_rust_source.R#L5-L7