Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to successfully install rayshader from GitHub or CRAN {Showing Error} #312

Open
Escobar-is-there opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Escobar-is-there
Copy link

Describe the bug

Error: '\U' used without hex digits in character string (<input>:4:36)
Execution halted

Session Info
Include the output of the Session

R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Error: '\U' used without hex digits in character string (<input>:4:36)
> install.packages("remotes")
Error in install.packages : Updating loaded packages

Restarting R session...

> install.packages("remotes")
Installing package into ‘C:/Users/Thoma/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.4/remotes_2.5.0.zip'
Content type 'application/zip' length 434959 bytes (424 KB)
downloaded 424 KB

package ‘remotes’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\Thoma\AppData\Local\Temp\Rtmpqgonss\downloaded_packages
> remotes::install_version(
+   package = "rayshader",
+   version = "0.35.7",
+   repos = "http://cran.us.r-project.org"
+ )
Downloading package from url: http://cran.us.r-project.org/src/contrib/Archive/rayshader/rayshader_0.35.7.tar.gz
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                               
2: CRAN packages only                
3: None                              
4: cli      (3.6.2  -> 3.6.3 ) [CRAN]
5: rlang    (1.1.3  -> 1.1.4 ) [CRAN]
6: crayon   (1.5.2  -> 1.5.3 ) [CRAN]
7: digest   (0.6.35 -> 0.6.36) [CRAN]
8: xfun     (0.44   -> 0.45  ) [CRAN]
9: evaluate (0.23   -> 0.24.0) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 3
Installing 3 packages: rayimage, rayvertex, rayrender
Installing packages into ‘C:/Users/Thoma/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
trying URL 'http://cran.us.r-project.org/src/contrib/rayimage_0.10.0.tar.gz'
Content type 'application/x-gzip' length 983434 bytes (960 KB)
downloaded 960 KB

trying URL 'http://cran.us.r-project.org/src/contrib/rayvertex_0.10.4.tar.gz'
Content type 'application/x-gzip' length 482727 bytes (471 KB)
downloaded 471 KB

trying URL 'http://cran.us.r-project.org/src/contrib/rayrender_0.32.2.tar.gz'
Content type 'application/x-gzip' length 513188 bytes (501 KB)
downloaded 501 KB

Error: '\U' used without hex digits in character string (<input>:4:36)
Execution halted
Error: '\U' used without hex digits in character string (<input>:4:36)
Execution halted
Error: '\U' used without hex digits in character string (<input>:4:36)
Execution halted

The downloaded source packages are in
	‘C:\Users\Thoma\AppData\Local\Temp\Rtmpqgonss\downloaded_packages’
Installing package into ‘C:/Users/Thoma/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
Error: '\U' used without hex digits in character string (<input>:4:36)
Execution halted
Warning messages:
1: In i.p(...) :
  installation of package ‘rayimage’ had non-zero exit status
2: In i.p(...) :
  installation of package ‘rayvertex’ had non-zero exit status
3: In i.p(...) :
  installation of package ‘rayrender’ had non-zero exit status
4: In i.p(...) :
  installation of package ‘C:/Users/Thoma/AppData/Local/Temp/Rtmpqgonss/remotes277452023d42/rayshader’ had non-zero exit status
> sessionInfo()
R version 4.4.1 (2024-06-14 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: Asia/Dhaka
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.4.1 R6_2.5.1       tools_4.4.1    remotes_2.5.0  pkgbuild_1.4.4 pacman_0.5.1
```   function here. 

**Reproducible Example**
Please provide a reproducible example that triggers the bug below. 

```r
library(rayshader)
#Your code goes below
install.packages("remotes")
remotes::install_version(
  package = "rayshader",
  version = "0.35.7",
  repos = "http://cran.us.r-project.org"
)
@Escobar-is-there Escobar-is-there added the bug Something isn't working label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant