From 980c4f04761cfc51d5635fd6698f18501dfda09f Mon Sep 17 00:00:00 2001 From: Andrew Baxter Date: Fri, 5 Mar 2021 00:05:36 +0000 Subject: [PATCH] Update .Rprofile --- .Rprofile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.Rprofile b/.Rprofile index ec4ba33..e0817ce 100644 --- a/.Rprofile +++ b/.Rprofile @@ -1,6 +1,4 @@ -a <- readline("Do you want to use `renv::activate`? (Warning: not useable within Docker!) [Y/n]\n") - -if (a != "n") {source("renv/activate.R")} else {message("renv not activated, continuing...")} +if (readline() == "a") {source("renv/activate.R")} else {message("renv not activated, continuing...")} message('You are in your Teen Preg project') pts <- function(size) return(size*5/14)