Tensorflow_hub installation

I am trying to utilize the universal sentence encoder on R. I have installed tensorflow, tfhub, devtools, and miniconda and am trying to import tensor flow hub but continue to get:

Downloading GitHub repo rstudio/tfhub@HEAD
✓ checking for file ‘/private/var/folders/jz/yjk9tt193yngdflwspdx58kh7zt697/T/RtmpkORyHX/remotes882f2ad5a9fb/rstudio-tfhub-cb83757/DESCRIPTION’ …
─ preparing ‘tfhub’:
✓ checking DESCRIPTION meta-information …
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘tfhub_0.8.0.tar.gz’
Warning: invalid uid value replaced by that for user ‘nobody’
Warning: invalid gid value replaced by that for user ‘nobody’

Installing package into ‘/Users/tuj48683/renv/library/R-4.0/x86_64-apple-darwin17.0’
(as ‘lib’ is unspecified)

  • installing source package ‘tfhub’ …
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    Error in file(filename, “r”, encoding = encoding) :
    cannot open the connection
    Calls: source -> file
    In addition: Warning message:
    In file(filename, “r”, encoding = encoding) :
    cannot open file ‘renv/activate.R’: No such file or directory
    Execution halted
    ERROR: lazy loading failed for package ‘tfhub’
  • removing ‘/Users/tuj48683/renv/library/R-4.0/x86_64-apple-darwin17.0/tfhub’
  • restoring previous ‘/Users/tuj48683/renv/library/R-4.0/x86_64-apple-darwin17.0/tfhub’
    Error: Failed to install ‘tfhub’ from GitHub:
    (converted from warning) installation of package ‘/var/folders/jz/yjk9tt193yngdflwspdx58kh7zt697/T//RtmpkORyHX/file882f318ab3b5/tfhub_0.8.0.tar.gz’ had non-zero exit status

I am very new to programming and am not sure what I am doing wrong. Any help is much appreciated!