randy3k / radian

A 21 century R console
MIT License
1.96k stars 73 forks source link

Prevention of new line insertion stop working after dplyr is imported #460

Closed raffaem closed 5 months ago

raffaem commented 5 months ago

I have this in $HOME/.config/radian/profile, which should prevents the insertion of new lines after each command:

options(radian.insert_new_line = FALSE)

Howerver, this works until dplyr is imported, for some reason

Then it stops working and new lines are inserted after each command once again.

Example:

> radian
R version 4.3.2 (2023-10-31) -- "Eye Holes"
Platform: x86_64-pc-linux-gnu (64-bit)
[ins] r$> print("ciao")
[1] "ciao"
[ins] r$> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

[ins] r$> print("hello")
[1] "hello"
# <------- A NEW LINE WAS  INSERTED HERE
[ins] r$> 
raffaem commented 5 months ago

Now it works correctly. Thank you very much @randy3k 👍🏻

raffaem commented 4 months ago

@randy3k Uhm it is happening again with readr::read_excel

image