-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
Error description
MWE
mwe.r
#' @export
test1 = 1
test2 = 2
box::export(test2)box::use(./mwe)
ls(mwe)Expected result
[1] "test1" "test2"
Actual result
[1] "test2"
Additional details
Calling box::export() in .on_load() works as expected; i.e. when changing mwe.r to the following, we get the expected result:
#' @export
test1 = 1
test2 = 2
.on_load = function (ns) {
box::export(test2)
}R version
_
platform aarch64-apple-darwin20
arch aarch64
os darwin20
system aarch64, darwin20
status
major 4
minor 3.1
year 2023
month 06
day 16
svn rev 84548
language R
version.string R version 4.3.1 (2023-06-16)
nickname Beagle Scouts
‘box’ version
1.1.3