You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm that your issue is a genuine bug in the targets package itself and not a user error, known limitation, or issue from another package that targets depends on. For example, if you get errors running tar_make_clustermq(), try isolating the problem in a reproducible example that runs clustermq and not targets. And for miscellaneous troubleshooting, please post to discussions instead of issues.
If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
When using targets::use_targets() in a fresh {renv} project, {rstudioapi} namespace is not available.
AFAICS this only suppressed the final file opening of _targets.R in the editor but wanted to report it anyhow.
I agree that the outcome is not desirable for the user, but I would prefer not to have targets get involved directly. use_targets() is simply calling usethis::edit_file(), the latter of which requires rstudioapi when invoked inside RStudio. Maybe the default behavior of usethis::edit_file() should be to fall back on its current behavior for terminal sessions: to open the user's default text editor. But this is outside the scope of targets.
Prework
targets
package itself and not a user error, known limitation, or issue from another package thattargets
depends on. For example, if you get errors runningtar_make_clustermq()
, try isolating the problem in a reproducible example that runsclustermq
and nottargets
. And for miscellaneous troubleshooting, please post to discussions instead of issues.targets::tar_reprex()
,reprex::reprex()
, or similar, post a minimal reproducible example like this one so the maintainer can troubleshoot the problems you identify. A reproducible example is:Description
When using
targets::use_targets()
in a fresh {renv} project, {rstudioapi} namespace is not available.AFAICS this only suppressed the final file opening of
_targets.R
in the editor but wanted to report it anyhow.Reproducible example
Expected result
Functionality is skipped without throwing an error or a warning is issued similar to the ones about the future pkgs.
Diagnostic information
targets 0.12.0
The text was updated successfully, but these errors were encountered: