I am trying to combine a variable date with a piece of text so that it looks as follows:
time <- c(end_date_override="20180531")
This is my code:
bb <- Sys.Date()-1
b1 <- paste("c(end_date_override","",sep = "=")
b1<-noquote(b1)
b2 <- as.character(bb)
b3 <- paste(b1,b2)
This does not give a result in the format c(end_date_override="20180531")
I would appreciate your advice.
Thanks in advance.