You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The script should return the same html string in both dotnet fsi and dotnet fsdocs watch.
Environment (please complete the following information):
OS: macOS
OS Version: Sonoma
Using in script or library: fsdocs
RProvider Version 2.1.0
Installed R Version 4.1.1
Additional context
The exception thrown is as follows:
System.ComponentModel.Composition APIs are not supported on this platform.
seq []
at System.ComponentModel.Composition.Primitives.ComposablePartCatalog..ctor()
at System.ComponentModel.Composition.Hosting.DirectoryCatalog..ctor(String path, String searchPattern)
at [email protected](IEnumerable`1& next)
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl() in D:\a\_work\1\s\src\FSharp.Core\seqcore.fs:line 488
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at [email protected](Unit unitVar)
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at [email protected](Type vt)
at Microsoft.FSharp.Collections.SeqModule.TryPick[T,TResult](FSharpFunc`2 chooser, IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 804
at RProvider.RInteropInternal.convertToR[inType](REngine engine, inType value)
at RProvider.RInteropInternal.REngine.SetValue(REngine this, Object value, FSharpOption`1 symbolName)
at RProvider.RInteropInternal.toR(Object value)
at RProvider.RInterop.passArg@604(List`1 tempSymbols, Object arg)
at [email protected](IEnumerable`1& next)
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl() in D:\a\_work\1\s\src\FSharp.Core\seqcore.fs:line 488
at Microsoft.FSharp.Collections.SeqModule.ToArray[T](IEnumerable`1 source) in D:\a\_work\1\s\src\FSharp.Core\seq.fs:line 1027
at RProvider.RInterop.callFunc(String packageName, String funcName, IEnumerable`1 argsByName, Object[] varArgs)
at <StartupCode$FSI_0025>.$FSI_0025.main@()
It works with R.pi or R.abs(1.), but not more complex interactions. It seems to be related to the GetValue member on SymbolicExpression.
Querying the loaded assemblies with reflection, it seems to think that System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 is the loaded assembly version.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to use RPRrovider from a .fsx file in an fsdocs docs project,
To Reproduce
Steps to reproduce the behavior:
dotnet fsi
, then run indotnet fsdocs watch
.Expected behavior
The script should return the same html string in both
dotnet fsi
anddotnet fsdocs watch
.Environment (please complete the following information):
Additional context
The exception thrown is as follows:
It works with R.pi or R.abs(1.), but not more complex interactions. It seems to be related to the GetValue member on SymbolicExpression.
Querying the loaded assemblies with reflection, it seems to think that
System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
is the loaded assembly version.The text was updated successfully, but these errors were encountered: