Problem installing Shinyjs

Hi

I have a code that was running the shinyjs package to use the hotable function and since I updated the R version I just cannot make it work again. I get this message when installing the package:

install.packages("shinyjs")
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/shinyjs_1.0.tgz'
Content type 'application/x-gzip' length 1013104 bytes (989 KB)
==================================================
downloaded 989 KB

tar: Failed to set default locale

The downloaded binary packages are in
/var/folders/zj/vwcs4xn16xd2mph4bfdjk2xc0000gn/T//RtmpiCamC0/downloaded_packages

library(shinyjs) #
Need shinyjs help? You can ask any Shiny-related question in the RStudio Community forums:
shiny - Posit Community

Attaching package: 'shinyjs'

The following objects are masked from 'package:methods':

removeClass, show

Please someone can help me with figuring this out?
...

This indicates that you already have shinyjs correctly installed and loaded, Could you explain what your problem is?

So setting locales in terminal resolved the issue for me. I had for some reason changed the locales and had problems installing packages.

  1. Open Terminal
  2. Write or paste in: defaults write org.R-project.R force.LANG en_US.UTF-8
  3. Close Terminal (including any RStudio window)
  4. Start R

Thank you for the reply andresrcs!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.