pablote, to rstats Spanish
@pablote@mastodon.social avatar

Junté {targets} + {pointblank}

@rstats

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.

adventures, an tale

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

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Want a simple form of analysis in #R well, I got you covered.

My #R TidyDensity has a function called tidy_mcmc_sampling() that is pretty straight forward. It takes a raw vector and performs the calculation you give it over a default of 2k samples.

I hope you find it useful.

#R

Post: https://www.spsanderson.com/steveondata/posts/2024-05-03/

image/png
image/png

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

Ace write-up, by Ivan Krylov, of the non-vulnerability in that was inappropriately assigned a CVE by an attention-seeking vendor.

It's sad every CERT on the planet is regurgitating the hype.

https://aitap.github.io/2024/05/02/unserialize.html

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

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

is so cool!!! Such a fast turnaround to get the latest release too!
https://mstdn.social/@gws/112377052382309094

gws, to random
@gws@mstdn.social avatar

PSA: The latest development build of served at https://webr.r-wasm.org/latest/ is now running 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.

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

To counter the stupid CVE thing with some positive content, folks really should use {stringi}. I think it's my fav R package.

%s$% from it is super fun to use…

library(stringi)

"%1$s is %1$f in UNIX time." %s$% Sys.time()  
hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

I ended up having to burn time I honestly don't have this week to blog the stuff from the repo I made yesterday due to CERT and CISA making a big deal (https://www.cisa.gov/news-events/alerts/2024/05/01/certcc-reports-r-programming-language-vulnerability) out of expected behavior in due to a daft, hype-seeking vendor.

The profession that is cybersecurity is stupid broken.

I rly want (someone) to pwn an org with this CVE just to get it on KEV for sad posterity.

https://rud.is/b/2024/05/03/cve-2024-27322-should-never-have-been-assigned-and-r-data-files-are-still-super-risky-even-in-r-4-4-0/

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

📦 [A package a day - Computing Infrastructure 35]

Today's Computing Infrastructure package is tinkr

Cast (R)Markdown Files to XML and Back Again
🙏 Maintained by @zkamvar
📝 https://docs.ropensci.org/tinkr/

Do you use this package? Tell us about it!
🗺️ https://discuss.ropensci.org/c/usecases/10




@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?

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!

adventures, an tale

terence, to random
@terence@fosstodon.org avatar

Bathymetry of the Arabian Sea.

adventures, an tale

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

📦 [A package a day - Computing Infrastructure 34]

Today's Computing Infrastructure package is git2r

Provides Access to Git Repositories
🙏 Maintained by Stefan Widgren
📝 https://docs.ropensci.org/git2r/

Do you use this package? Tell us about it!
🗺️ https://discuss.ropensci.org/c/usecases/10




@rstats

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

[blog] Throw-back Thursday!

One year in, and our Scheduling workflow is still working well!

We've actually added options for posting via the LinkedIn API as well 🎉 so now issues tagged "mastodon" go through one process and those tagged "linkedin" through another.
Is it too meta that we used the workflow the schedule this post?

⌛ Scheduling Mastodon Posts in R with rtoot and GitHub Actions by @steffilazerte
📅 May 17, 2023
🔗 https://ropensci.org/blog/2023/05/17/scheduling-mastodon/


@rstats

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Exciting news for R users! TidyDensity's latest update introduces util_chisquare_param_estimate(), leveraging MLE to estimate Chi-square distribution parameters like dof and ncp.

Generate a dataset with rchisq() and use util_chisquare_param_estimate() to analyze it, even without knowing the underlying distribution. Visualize results with tidy_combined_autoplot().

Try it in your next R project!

Post: https://www.spsanderson.com/steveondata/posts/2024-05-02/

#R

image/png
image/png
image/png

olivroy, to random
@olivroy@fosstodon.org avatar

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! https://posit.co/blog/rstudio-2024-04-0-whats-new/

_wurli, to random
@_wurli@fosstodon.org avatar

Bizarre 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
@lars_dalby@mstdn.social avatar

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 community seeing this? @rstats

Dan, to random
@Dan@aus.social avatar

Thursday afternoon fun - making isochrones with no value but their blobby sea dragon weirdness!

rladies_bergen, to programming
@rladies_bergen@hachyderm.io avatar

It's May already! Let's do something fresh and learn about how to use containers with your projects!
RSVP here:
https://www.meetup.com/rladies-bergen/events/300711368/

coolbutuseless, to random
@coolbutuseless@fosstodon.org avatar

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

rOpenSci, to rstats Spanish
@rOpenSci@hachyderm.io avatar

📦 [A package a day - Computing Infrastructure 33]

Today's Computing Infrastructure package is tic

The goal of tic is to enhance and simplify working with continuous integration (CI) systems
🙏 Maintained by Patrick Schratz
📝 https://docs.ropensci.org/tic/

Check out this article: The features of tic
💻 https://docs.ropensci.org/tic/articles/features.html




@rstats

scarnecchia, to random
@scarnecchia@social.lol avatar

Update to R 4.4.0—it patches a vulnerability resulting from deserialization of RDS and RDB files. https://www.cisa.gov/news-events/alerts/2024/05/01/certcc-reports-r-programming-language-vulnerability

hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

Thanks to the great work by @klmr & @idavydov I've put together this repo: https://github.com/hrbrmstr/rdaradar that will help sanity check R data files in as safe a way as possible.

It's super basic and I'm rly tight on time this week, so issues (and, eventual PRs) are welcome.

You're still better off not trusting R data files not created by you.

cc: @AlexandreSieira

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • tsrsr
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • mdbf
  • Youngstown
  • ethstaker
  • slotface
  • khanakhh
  • rosin
  • hgfsjryuu7
  • kavyap
  • PowerRangers
  • Leos
  • ngwrru68w68
  • Durango
  • modclub
  • everett
  • cubers
  • vwfavf
  • InstantRegret
  • osvaldo12
  • GTA5RPClips
  • tester
  • cisconetworking
  • tacticalgear
  • anitta
  • All magazines