paulklemm / rvisidata

Open any dataframe with visidata, a terminal-based spreadsheet application
Other
30 stars 2 forks source link

Error: (converted from warning) Setting LC_TIME failed, using "C" #8

Closed anuragnsharma closed 4 years ago

anuragnsharma commented 4 years ago

Tried solving it using this but it doesn't work. Full details:

> devtools::install_github('paulklemm/rvisidata')
 26 Downloading GitHub repo paulklemm/rvisidata@master
 27 tar: Failed to set default locale
 28 tar: Failed to set default locale
 29    During startup - Warning messages:
 30    1: Setting LC_TIME failed, using "C"
 31    2: Setting LC_MESSAGES failed, using "C"
 32    3: Setting LC_MONETARY failed, using "C"
 33    checking for file ‘/private/var/folders/8w/w1h6bnd123s30145p0h6lnq00000gn/T/RtmpmlX3tZ/remotes1508a52b115e7/paulklemm-rvisidata-119f0a6/DESCRIPTION’ ..
 34 ✔  checking for file ‘/private/var/folders/8w/w1h6bnd123s30145p0h6lnq00000gn/T/RtmpmlX3tZ/remotes1508a52b115e7/paulklemm-rvisidata-119f0a6/DESCRIPTION’
 35 ─  preparing ‘rvisidata’:
 36 ✔  checking DESCRIPTION meta-information ...
 37 ─  checking for LF line-endings in source and make files and shell scripts
 38 ─  checking for empty or unneeded directories
 39 ─  building ‘rvisidata_0.0.3.tar.gz’
40
 41 Error: (converted from warning) Setting LC_TIME failed, using "C"
 42 Execution halted
 43 Error: Failed to install 'rvisidata' from GitHub:
 44   (converted from warning) installation of package ‘/var/folders/8w/w1h6bnd123s30145p0h6lnq00000gn/T//RtmpmlX3tZ/file1508a68151b1a/rvisidata_0.0.3.tar.gz’
 45  had non-zero exit status

I'm running NVIM on macOS Catalina Ver 10.15.5.

:ver
NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedant
ic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdia
gnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20191107-85913-1wbgqz6/n
eovim-0.4.3/build/config -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/src -I/usr/local/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/deps-bui
ld/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
-I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/src/nvim/auto -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/include
Compiled by brew@Catalina.local

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.3/share/nvim"

I have installed visidata as per this using brew install saulpw/vd/visidata, vd --version prints saul.pw/VisiData v1.5.2. I am attempting to install this from within Nvim-R.

Edit: The issue was bypassed by installing rvisidata through RStudio. After doing that, opening Nvim-R, loading the package and opening up the mtcars dataset worked.

paulklemm commented 4 years ago

Sorry but I'm not sure if I can offer support here, since the error doesn't seem to be coming from rvisidata. Try this SO answer.

anuragnsharma commented 4 years ago

Unfortunately this does not work! I've tried almost all the hits I get on SO.

paulklemm commented 4 years ago

Does the same error occur when you use vanilla R on macOS when you launch a standard shell through the terminal? Maybe NVIM is screwing up the settings.

anuragnsharma commented 4 years ago

No! I was able to install it and use it. Thanks.

paulklemm commented 4 years ago

Can you please briefly write how, so another person might benefit from what you've learned?