repro icon indicating copy to clipboard operation
repro copied to clipboard

`repro` should not rely on RStudio

Open aaronpeikert opened this issue 4 years ago • 1 comments

All functions (looking at you automate()) should work without RStudio or at least provide a workaround.

aaronpeikert avatar Sep 21 '21 07:09 aaronpeikert

Mh... Does not seem to actually rely on RStudio:

In terminal:

docker run -it --rm rocker/verse:4.0.1 R

Then in terminal in R:

options(
	repos = c(aaronpeikert = 'https://aaronpeikert.r-universe.dev',
	CRAN = 'https://cloud.r-project.org')
)
install.packages('repro')

dir <- tempdir()
repro::use_repro_template(dir)
setwd(dir)
repro::automate()

Possibly exit VIM (type :a Enter)

    repro::reproduce()

aaronpeikert avatar Sep 22 '21 11:09 aaronpeikert