Skip to content

Commit

Permalink
Fixes #164 Installation fails with strange path characters (#165)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
rwmcintosh and github-actions[bot] authored Dec 18, 2024
1 parent a214ecc commit 1565c13
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 1 deletion.
Binary file modified inst/extdata/rSharp.Examples.dll
Binary file not shown.
Binary file modified inst/lib/ClrFacade.dll
Binary file not shown.
Binary file modified inst/lib/DynamicInterop.dll
Binary file not shown.
Binary file modified inst/lib/RDotNet.dll
Binary file not shown.
Binary file modified inst/lib/rSharp.dll
Binary file not shown.
Binary file modified inst/lib/rSharp.linux.so
Binary file not shown.
Binary file modified inst/lib/rSharp.mac.so
Binary file not shown.
3 changes: 2 additions & 1 deletion shared/rSharp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ SEXP rSharp_create_domain(SEXP args)
#ifdef WINDOWS
// STEP 2: Initialize and start the .NET Core runtime
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
const char_t* wideStringLibraryPath = converter.from_bytes(libraryPath).c_str();
auto basic_string = converter.from_bytes(libraryPath);
const char_t* wideStringLibraryPath = basic_string.c_str();
#else
const char_t* wideStringLibraryPath = libraryPath;
#endif
Expand Down

0 comments on commit 1565c13

Please sign in to comment.