zsmith27, to random

I have a private GitHub repo for an R package I developed for my organization. I cannot deploy a pkgdown webpage for my team in a private repo. Does anyone know if I can easily include a pkgdown webpage within my package (maybe in inst?) and have users serve it locally with a function call? I just saw this post from Maëlle Salmon: https://mastodon.social/@maelle/112393952364276977. Maybe servr::httw() could facilitate this?
#rstats

jmcastagnetto, to random
@jmcastagnetto@mastodon.social avatar

@coolbutuseless -- just saw this on the incognito site :-)

https://x.com/JosiahParry/status/1787871177677115698

{yyjsonr} rewlz in speed and size

lffontenelle, to random
@lffontenelle@mastodon.social avatar

The new issue of the R Journal has article on openalexR: https://doi.org/10.32614/RJ-2023-089

danwwilson, to random
@danwwilson@rstats.me avatar

users, I’m weighing up a new MacBook and wondering whether to go the Air or Pro. I don’t want a 16”. I’m curious to hear people’s experiences with the specs they have. Please, no Linux-only recs, as my clients all use the Office suite, which means I need to be able to deliver reliable documents to them, which isn’t quite possible with Libre Office.

Posit, to random
@Posit@fosstodon.org avatar

Build vignettes with Quarto!

Quarto R package version 1.4 is here 📦✨ The main feature is a new vignette engine that allows you to use quarto as a vignette builder and use .qmd files as vignettes!

The package also includes more enhancements for compatibility with the Quarto CLI 1.4 🔥💻

Learn more in the Release Notes: https://github.com/quarto-dev/quarto-r/releases/tag/v1.4

#RStats #Quarto #QuartoPub

markvanderloo, to random

The latest issue of the R Journal is out! #rstats Read it here: https://journal.r-project.org/issues/2023-4/

PipingHotData, to random

I'm excited to teach the "What They Forgot To Teach You About R" workshop with E. David Aja at posit conf for the 3rd year! 🎉 Join us to level up your personal R administration 🛠 and debugging skills 🧐. 🤗

✨Register pos.it/conf
✨Workshop https://reg.conf.posit.co/flow/posit/positconf24/publiccatalog/page/publiccatalog/session/1707334049151001SsKL

lulu_powerful, to random
@lulu_powerful@fosstodon.org avatar

I recently worked with someone with 10 years' experience in who thinks dependency management doesn't matter. He didn't even think it was worthwhile to just ensure we were all using the same versions of things.

I don't get it. It took me mere months to break an R script by carelessly updating packages - how did this guy make it to a decade with no mishaps?

maelle, to random
@maelle@mastodon.social avatar
Lluis_Revilla, to random
@Lluis_Revilla@fosstodon.org avatar

Some reflections about repositories: https://llrs.dev/post/2024/05/05/packaging-r-getting-in/
Which definition of cran-like repository do you normally use for R?

josi, to random

🪲 R's new vulnerability doesn't scare me.

There are TONS of ways to hide exploits in R code. Want to see how you can abuse:

  • .onLoad()
  • pre-compiled code
  • side effects or
  • hiding in S3 generics?

#rstats

https://www.youtube.com/watch?v=WGvXEi4nG5k

dmendsev, to random
@dmendsev@fosstodon.org avatar

Day 2 of the spring trip. #donostia-#leonesp.
Hoping that today's trip will be kinder 😅

#rstats #CrossBorderRail #trainbubble

timelyportfolio, to random

so excited to finally attend and present at #rinfinance in Chicago next week https://web.cvent.com/event/58ee0590-1071-42fd-a163-b827b1256991/websitePage:7ec01a22-d8ec-4eb2-ad21-446f9d024f11 and look forward to covering the combination of #rstats and finance with JavaScript through #htmlwidgets #shiny @gws #webr #shinylive

would love to know if anyone has any specific questions that I could address/explore in my presentation.

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

working on the next release of TidyDensity

#R #RProgramming #Programming #RStats #Coding

terence, to random
@terence@fosstodon.org avatar

I have a linestring with messy ends (like a tangled ball of yarn). How can I smooth the messy ends so that it traces a nice curve around the yarn-like segments? I tried the {smoothr} package but it doesn't seem to work.

Also open to QGIS or Python approaches.

terence, to random
@terence@fosstodon.org avatar

Bathymetry of the Gulf of Alaska.

#rayshader adventures, an #rstats tale

terence, to random
@terence@fosstodon.org avatar

Thanks to @hughagraham, here's a tree canopy height viz of O‘ahu, Hawai‘i two ways—canopy height only (left), over shaded relief (right). Which do you prefer?

Hi-res canopy height data from World Resources Institute and Meta.

#rayshader adventures, an #rstats tale

A visualisation of tree canopy height over shaded relief in O‘ahu, Hawai‘i

gws, to random
@gws@mstdn.social avatar

PSA: The latest development build of #webR served at https://webr.r-wasm.org/latest/ is now running #RStats 4.4.0 🎉 This change will be included as part of the next release. Thanks @jeroenooms for helping get this up and running.

WebAssembly packages for R 4.4 are now being served by https://repo.r-wasm.org/. As before, you can browse the list of available Wasm packages by visiting that URL in your browser. Feel free to let me know if any major packages have been broken in the rebuild process.

maelle, to random
@maelle@mastodon.social avatar

ICYMI, desc::desc_normalize()

✅ Re-formats and re-orders fields in DESCRIPTION in a standard way.
✅Reorders the packages alphabetically.

Downside: you might be a little bit annoyed when you encounter DESCRIPTION files with fields in a different order. 🤪

https://desc.r-lib.org/reference/desc_normalize.html

#RStats

coolbutuseless, to random
@coolbutuseless@fosstodon.org avatar

Has anyone ever written a "multi-facetted" package for CRAN?

For example, I have a package that uses the connections API.

I would like the full version available from GitHub and r-universe.

Through clever use of defines and 'if' statements etc, the CRAN version would exclude all forbidden code.

Could this exist in one pkg tarball? Or would the tarballs have to be different?

Are there CRAN-specific ENV vars that can be used to control the inclusion/exclusion of code?

#RStats

terence, to random
@terence@fosstodon.org avatar

As requested by @jarrin_v, here's a quick render of Lago Titicaca's bathymetry. It's more challenging to find lake bathymetry data compared to seas and oceans. Let me know if you have better data!

#rayshader adventures, an #rstats tale

olivroy, to random

A new release of RStudio dropped this week!! A lot of bug fixes and hard work over the last few months. For me, the highlights are the improvements to the Git pane, the completion for ggplot2 aesthetics, help for S3 methods, help available when package loaded via devtools. I had the chance to contribute some (very) minor features. Special thanks to @kevinushey and @ronblum for their kindness and responsiveness! #rstats https://posit.co/blog/rstudio-2024-04-0-whats-new/

_wurli, to random

Bizarre #RStats discovery of the week: control-flow statements don't necessarily have to be within a set of braces, unless the code it at the 'top level'. Super weird.

https://github.com/r-lib/tree-sitter-r/issues/103#issuecomment-2088580114

lars_dalby, to rstats

Hmm, I'm having trouble connecting to the @Posit package manager at the moment. I get:
Warning: unable to access index for repository <https://packagemanager.posit.co/cran/latest/src/contrib>: cannot open URL '<https://packagemanager.posit.co/cran/latest/src/contrib/PACKAGES'> Is anyone else in the #RStats community seeing this? @rstats

coolbutuseless, to random
@coolbutuseless@fosstodon.org avatar

#RStats hive: has anyone resubmitted a package to CRAN and been asked to fix their use of SET_TRUELENGTH?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines