profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/randy3k/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

jimhester/lintr 853

Static Code Analysis for R

randy3k/AlignTab 620

An alignment plugin for Sublime Text using regular expression

Non-Contradiction/JuliaCall 180

Embed Julia in R

JuliaEditorSupport/Julia-sublime 92

Julia syntax highlighting for Sublime Text

randy3k/collections 76

High-performance container datatypes for R

randy3k/AutoWrap 61

Auto (Hard) Wrap for Sublime Text 2/3

randy3k/arrangements 33

Fast Generators and Iterators of Permutations, Combinations and Partitions

randy3k/AutomaticPackageReloader 33

Automatically reload submodules while developing a Sublime Text package.

randy3k/ChangeList 31

DEPRECATED: The missing Change List for Sublime Text 2/3 - History List, Last Edit ...

randy3k/closure 3

Tools to create and manipulate closures

pull request commentSublimeText/UnitTesting

Add copy-tested-package command

Actually I would also need something for deleting the package directory as I need to remove what PC installed before using copy_tested_package...

Or could make the CopyTestedPackage remove the target itself if it exists.

rchl

comment created time in 3 hours

PR opened SublimeText/UnitTesting

Add copy-tested-package command

Fixes #193

Not finished with it yet. Gonna update the powershell script tomorrow.

Also, should the command be called copy_package or copy_tested_package or something else?

+16 -5

0 comment

1 changed file

pr created time in 3 hours

pull request commentSublimeText/UnitTesting

Expose install_package CI command for installing arbitrary packages

Thanks to you.

BTW. Beautiful history:

Screenshot 2021-06-19 at 23 14 53

Would recommend squash option for my changes at least ;)

rchl

comment created time in 3 hours

issue commentSublimeText/UnitTesting

Testing a dependency within CI

Yeah, that should work. Was hoping we could find some alternative angle at this issue that I couldn't think of. :)

rchl

comment created time in 4 hours

issue commentSublimeText/UnitTesting

Testing a dependency within CI

The idea above seems to have worked (see https://github.com/sublimelsp/lsp_utils/pull/70/commits/759e9755d9ccd729108365fe7a20586ecb80d413).

Obviously it's very hacky though and I would want to avoid referencing the Packages path in the CI workflow and rely completely on the original script...

rchl

comment created time in 4 hours

issue commentSublimeText/UnitTesting

Testing a dependency within CI

If I do that then PC will overwrite the directory with the latest released version instead of the one I want to test.

rchl

comment created time in 5 hours

issue commentSublimeText/UnitTesting

Testing a dependency within CI

One, not that clean, solution that just came to my mind is:

  • run github.sh install_package LSP-pyright master https://github.com/sublimelsp/LSP-pyright.git to install a package that requires lsp_utils
  • run github.sh install_package_control to let PC install the lsp_utils dependency
  • in the next CI step, manually delete the installed dependency and then add my local version
rchl

comment created time in 5 hours

issue commentSublimeText/UnitTesting

Testing a dependency within CI

For context, when doing the same in a local, clean ST build, I'm getting the same message and what I need to do to get that dependency registered in the loader is I have to manually trigger Package Control: Install Local Dependency from the Command Palette and select lsp_utils.

So I'm trying to figure out if there is some solution to that without involving any changes in PC itself since that would take a very long time, even if accepted.

rchl

comment created time in 5 hours

issue openedSublimeText/UnitTesting

Testing a dependency within CI

I'm trying to set up testing for a dependency (see https://github.com/sublimelsp/lsp_utils/pull/70) within a Github Actions.

There are some problems with test.

By default the CI script bootstraps Package Control with ignore_vcs_packages set to true. Having that option enabled with a cloned dependency in Packages results in PC showing an error dialog:

Screenshot 2021-06-19 at 21 43 57

and UnitTesting script failing the install_package_control step with:

Skipping git package lsp_utils since the setting "ignore_vcs_packages" is set to true
missing dependencies:
lsp_utils
Timeout: Fail to install Package Control.
Error: Process completed with exit code 1.

source: https://github.com/sublimelsp/lsp_utils/runs/2865424911

With ignore_vcs_packages set to false it also errors out with:

Error executing: /usr/bin/git symbolic-ref -q HEAD
Working directory: /github/home/.config/sublime-text/Packages/lsp_utils
VCS-based packages can be ignored by changing the "ignore_vcs_packages" setting to true.
Sublime Text will need to be restarted once the setting is changed.
missing dependencies:
lsp_utils
Timeout: Fail to install Package Control.
Error: Process completed with exit code 1.

source: https://github.com/sublimelsp/lsp_utils/runs/2865746622

I'm looking for some ideas on how to handle this.

created time in 5 hours

fork toscm/radian

A 21 century R console

fork in 7 hours

issue openedJuliaInterop/RCall.jl

How to install R packages though RCall.jl

Hey folks, I don't know if I missed it in the docs but I did not see how to install a R package through Rcall. I posted a SO question here: https://stackoverflow.com/questions/68048899/how-to-install-an-r-package-using-rcall-jl

created time in 8 hours

issue commentrandy3k/radian

Line wrap not working in Windows Terminal

Ah, I did not notice that you were using you're own prompt-toolkit version. Thanks for the explanation. In this case I can see that updating prompt-toolkit has a good chance to solve the problem.

So from my side it would be ok to close the issue now, unless you want to leave it open for other Windows Terminal users who might run into the same problem?

toscm

comment created time in 8 hours

startedrandy3k/radian

started time in 8 hours

issue openedrandy3k/rchitect

Can install rchitect with pip but not with mamba

I am debugging an error where I am unable to install radian with mamba but can with pip. The root issue seems to be due to mamba unable to find rchitect.

When running mamba install radian this is the error I get.

Encountered problems while solving:
  - nothing provides rchitect >=0.3.30,<0.4.0 needed by radian-0.5.10-pyhd8ed1ab_0

I then tried to install rchitect directly with mamba install rchitect but I receive this error:

Looking for: ['rchitect']

pkgs/main/osx-arm64      [====================] (00m:00s) No change
pkgs/main/noarch         [====================] (00m:00s) No change
conda-forge/osx-arm64    [====================] (00m:00s) No change
pkgs/r/osx-arm64         [====================] (00m:00s) 404 Failed
pkgs/r/noarch            [====================] (00m:00s) No change
conda-forge/noarch       [====================] (00m:00s) No change

Pinned packages:
  - python 3.9.2

Encountered problems while solving:
  - nothing provides requested rchitect

I then tried installing rchitect using pip in a venv:

Collecting rchitect
  Using cached rchitect-0.3.32-cp39-cp39-macosx_11_0_arm64.whl (77 kB)
Collecting six>=1.9.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Processing /Users/metaverse/Library/Caches/pip/wheels/9d/fd/b3/1c45c7d2a111aa5a29f24e12609ea5bc8a010d1b8351488796/cffi-1.14.5-cp39-cp39-macosx_11_0_arm64.whl
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: six, pycparser, cffi, rchitect
Successfully installed cffi-1.14.5 pycparser-2.20 rchitect-0.3.32 six-1.16.0

Which allowed me to successfully install radian via pip.

Note, I did also try install via conda rather than mamba and recieved the following error (conda install -c conda-forge rchitect):

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - rchitect

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

This isn't a huge issue because I was able to install via pip, but I'm wondering what is preventing me from installing through conda? Some version information:

mamba 0.14.0
conda 4.10.1
pip 21.1.2
python 3.9.2

Let me know if you need more information. Thank you!

created time in 9 hours

issue commentrandy3k/radian

Line wrap not working in Windows Terminal

Thanks for the hint. I checked which version of prompt toolkit I have installed and it's actually 3.0.18, but I think you're right anyways.

I tried to step through the code to find out where the line gets cut off and it seems to happen in line 171-172 of console.py (in the output.write_raw(buf); output.flush() part.

radian_ipdb

As a workaround I replaced the output.write_raw(buf); output.flush() with sys.stdout.write(buf); sys.stdout.flush() and it seems to work for now 🥳

radian_workaround radian_fixed

toscm

comment created time in 11 hours

PR opened randy3k/Terminus

Enable middle paste for Linux

Enable middle pasting selections from other opened views into an opened terminal.

It has been bothering me for a while, on Linux we often use middle paste to copy and run code from other views. This PR seems to fix the issue reported here: https://stackoverflow.com/questions/65246456/middle-click-is-not-pasting-the-text-in-terminus-sublime-text-3

This PR allows:

  • double click to select a single word in another view & middle paste into a terminal;
  • select some code in another view by mouse click + select + mouse release & middle paste into a terminal.

This PR does NOT allow:

  • select some text in an application other than ST & middle paste into a terminal, but a regular copy/paste of course works.
+10 -0

0 comment

1 changed file

pr created time in 13 hours

fork t-bltg/Terminus

Bring a real terminal to Sublime Text

https://packagecontrol.io/packages/Terminus

fork in 14 hours

release sublimelsp/LSP

4070-1.6.1

released time in a day

pull request commentSublimeText/UnitTesting

Expose install_package CI command for installing arbitrary packages

I don't know anything about powersheel but did my best guess at how it should be done.

rchl

comment created time in a day

startedrandy3k/AlignTab

started time in a day

pull request commentSublimeText/UnitTesting

Expose install_package CI command for installing arbitrary packages

I can't find ci.ps1 file in the repo. But then I have zero knowledge about powershell scripts so not sure how hard it would be to handle.

rchl

comment created time in a day

startedrandy3k/radian

started time in a day

startedrandy3k/RemoteSubl

started time in 2 days

startedrandy3k/Terminus

started time in 2 days

startedrandy3k/radian

started time in 2 days

startedrandy3k/Terminus

started time in 3 days

startedrandy3k/RemoteSubl

started time in 4 days

issue commentrandy3k/radian

Messages in radian for VS code in WSL

I am using the reticulate library, I am not sure if it is from reticulate. Thanks

hiteck88

comment created time in 4 days

startedrandy3k/radian

started time in 4 days