KTH-Library / kthcorpus

R package to support workflows related to the corpus of publications from KTH
https://kth-library.github.io/kthcorpus
GNU Affero General Public License v3.0
0 stars 1 forks source link

do not use R 4.3 syntax #90

Closed mskyttner closed 1 year ago

mskyttner commented 1 year ago

According to "https://cran.r-project.org/doc/manuals/r-release/NEWS.html" : As an experimental feature the placeholder can now also be used in the rhs of a forward pipe |> expression as the first argument in an extraction call, such as $coef. More generally, it can be used as the head of a chain of extractions, such as _$coef[[2]]. "

Avoid using _$ since base layers in containers may not support R v 4.3 (yet).