tylermorganwall / rayrender

A pathtracer for R. Build and render complex scenes and 3D data visualizations directly from R
http://www.rayrender.net
622 stars 42 forks source link

About the package installation #1

Closed wangshisheng closed 5 years ago

wangshisheng commented 5 years ago

Hi Tyler,

So wonderful package you have developed! However, when I install this package locally, I got this error:

install_local("D:/Downloads/rayballer-master") √ checking for file 'C:\Users\Administrator\AppData\Local\Temp\RtmpCi93to\file24d53825a43d28\rayballer-master/DESCRIPTION' ...

  • preparing 'rayballer': √ checking DESCRIPTION meta-information ...
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building 'rayballer_0.1.0.tar.gz'

Installing package into ‘D:/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified)

This is my R session:

sessionInfo() R version 3.5.2 (2018-12-20) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale: [1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936 LC_CTYPE=Chinese (Simplified)_People's Republic of China.936
[3] LC_MONETARY=Chinese (Simplified)_People's Republic of China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_People's Republic of China.936

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

other attached packages: [1] usethis_1.4.0 devtools_2.0.1

loaded via a namespace (and not attached): [1] Rcpp_1.0.0 rstudioapi_0.9.0 magrittr_1.5 pkgload_1.0.2 R6_2.4.0 rlang_0.3.1 tools_3.5.2
[8] pkgbuild_1.0.2 sessioninfo_1.1.1 cli_1.0.1 withr_2.1.2 remotes_2.0.2 yaml_2.2.0 assertthat_0.2.0 [15] digest_0.6.18 rprojroot_1.3-2 crayon_1.3.4 processx_3.2.1 callr_3.1.1 fs_1.2.6 ps_1.3.0
[22] testthat_2.0.1 memoise_1.1.0 glue_1.3.0 compiler_3.5.2 desc_1.2.0 backports_1.1.3 prettyunits_1.0.2

My computer system is Windows 7. Could you give some clues? Thanks a lot~~

Bests, Shisheng

tylermorganwall commented 5 years ago

Yes, I noticed this issue on yesterday—drand48() isn’t available on windows. I’ll see if I can implement a suitably fast alternate random number generator.

tylermorganwall commented 5 years ago

Fixed in the transition to rayrender